diff --git a/README.md b/README.md index 2d2a284..7bf26fa 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ module.exports = { 'fontName': 'myfonticons', 'classPrefix': 'myfonticon-', 'baseSelector': '.myfonticon', - 'types': ['eot', 'woff', 'woff2', 'ttf', 'svg'], + 'types': ['eot', 'woff2', 'woff', 'ttf', 'svg'], 'fileName': 'app.[fontname].[hash].[ext]' }; ``` diff --git a/index.js b/index.js index 70c46a0..478a8d9 100644 --- a/index.js +++ b/index.js @@ -89,7 +89,7 @@ module.exports = function (content) { fontConfig.files = filesAndDeps.files; // With everything set up, let's make an ACTUAL config. - var formats = fontConfig.types || ['eot', 'woff', 'woff2', 'ttf', 'svg']; + var formats = fontConfig.types || ['eot', 'woff2', 'woff', 'ttf', 'svg']; if (formats.constructor !== Array) { formats = [formats]; } diff --git a/test-embed/myfont.font.json b/test-embed/myfont.font.json index 9b385ed..1b9e36f 100644 --- a/test-embed/myfont.font.json +++ b/test-embed/myfont.font.json @@ -5,7 +5,7 @@ "fontName": "myfonticons", "classPrefix": "myfonticon-", "baseSelector": ".myfonticon", - "types": ["eot", "woff", "woff2", "ttf", "svg"], + "types": ["eot", "woff2", "woff", "ttf", "svg"], "fixedWidth": true, "embed": true, "fileName": "app.[fontname].[chunkhash].[ext]" diff --git a/test/myfont.font.js b/test/myfont.font.js index 0728124..f597834 100644 --- a/test/myfont.font.js +++ b/test/myfont.font.js @@ -5,7 +5,7 @@ module.exports = { 'fontName': 'myfonticons', 'classPrefix': 'myfonticon-', 'baseSelector': '.myfonticon', - 'types': ['eot', 'woff', 'woff2', 'ttf', 'svg'], + 'types': ['eot', 'woff2', 'woff', 'ttf', 'svg'], 'fixedWidth': true, 'fileName': 'app.[fontname].[chunkhash].[ext]' };