Skip to content

Commit

Permalink
fix webpack windows build issue(#940) (#1144)
Browse files Browse the repository at this point in the history
  • Loading branch information
talc23 authored and mcnuttandrew committed Apr 6, 2019
1 parent 794cba8 commit 7e8a17b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion showcase/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const webpack = require('webpack');
const ExtractTextPlugin = require('extract-text-webpack-plugin');
const path = require('path');
const entry = {app: './app'};
const jsRule = {
test: /\.js$/,
Expand Down Expand Up @@ -57,7 +58,12 @@ const config = isProd
use: ['style-loader', 'css-loader', 'sass-loader']
}
]
}
},

resolve: {
modules: ['node_modules', path.join(__dirname,'..', 'src')]
},

};

module.exports = config;

0 comments on commit 7e8a17b

Please sign in to comment.