Skip to content

Commit

Permalink
added file-loader
Browse files Browse the repository at this point in the history
  • Loading branch information
nhanco committed Nov 5, 2017
1 parent 13daeca commit 9d71cf9
Show file tree
Hide file tree
Showing 15 changed files with 3,509 additions and 2 deletions.
364 changes: 364 additions & 0 deletions css/semantic.min.css

Large diffs are not rendered by default.

Binary file added css/themes/basic/assets/fonts/icons.eot
Binary file not shown.
450 changes: 450 additions & 0 deletions css/themes/basic/assets/fonts/icons.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css/themes/basic/assets/fonts/icons.ttf
Binary file not shown.
Binary file added css/themes/basic/assets/fonts/icons.woff
Binary file not shown.
Binary file added css/themes/default/assets/fonts/icons.eot
Binary file not shown.
2,671 changes: 2,671 additions & 0 deletions css/themes/default/assets/fonts/icons.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css/themes/default/assets/fonts/icons.ttf
Binary file not shown.
Binary file added css/themes/default/assets/fonts/icons.woff
Binary file not shown.
Binary file added css/themes/default/assets/fonts/icons.woff2
Binary file not shown.
Binary file added css/themes/default/assets/images/flags.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"devDependencies": {
"css-loader": "^0.28.7",
"extract-text-webpack-plugin": "^3.0.2",
"file-loader": "^1.1.5",
"fs": "^0.0.1-security",
"glob": "^7.1.2",
"iconfont-webpack-plugin": "^1.1.0",
Expand Down
11 changes: 11 additions & 0 deletions script/semantic.min.js

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,13 @@ var config = {
}
]
})
},
{
test: /\.(png|jpg|gif|svg|eot|ttf|woff|woff2)$/,
use: ['file-loader?limit=1000&name=files/[md5:hash:base64:10].[ext]']
}
]
}
,
},
};

module.exports = config;
7 changes: 7 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1206,6 +1206,13 @@ fastparse@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/fastparse/-/fastparse-1.1.1.tgz#d1e2643b38a94d7583b479060e6c4affc94071f8"

file-loader@^1.1.5:
version "1.1.5"
resolved "https://registry.yarnpkg.com/file-loader/-/file-loader-1.1.5.tgz#91c25b6b6fbe56dae99f10a425fd64933b5c9daa"
dependencies:
loader-utils "^1.0.2"
schema-utils "^0.3.0"

filename-regex@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/filename-regex/-/filename-regex-2.0.1.tgz#c1c4b9bee3e09725ddb106b75c1e301fe2f18b26"
Expand Down

0 comments on commit 9d71cf9

Please sign in to comment.