Skip to content

Commit

Permalink
Update webpack config
Browse files Browse the repository at this point in the history
  • Loading branch information
thangngoc89 committed Mar 31, 2016
1 parent bed929b commit 8ad2c4a
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions scripts/webpack.config.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,11 @@ export default ({ config, pkg }) => ({
},
{
test: /content(\/|\\).*\.(html|ico|jpe?g|png|gif)$/,
loader: "file-loader" +
"?name=[path][name].[ext]&context=" +
path.join(config.cwd, config.source),
loader: "file-loader?name=[path][name].[ext]&context=./content",
},
{
test: /\.(html|ico|jpe?g|png|gif)$/,
loader: "file-loader" +
"?name=[path][name].[ext]&context=" +
path.join(config.cwd, config.source),
test: /web_modules(\/|\\).*\.(html|ico|jpe?g|png|gif)$/,
loader: "file-loader?name=_/[path][name].[ext]&context=./web_modules",
},
{
test: /\.svg$/,
Expand Down

0 comments on commit 8ad2c4a

Please sign in to comment.