Skip to content

Commit

Permalink
webpack 3
Browse files Browse the repository at this point in the history
  • Loading branch information
lixichen committed Aug 22, 2018
1 parent 261a587 commit ae1b27c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
@@ -1,4 +1,4 @@
export default {
module.exports = {
root: true,
parser: 'babel-eslint',
parserOptions: {
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Expand Up @@ -5,7 +5,7 @@ module.exports = {
devtool: process.env.NODE_ENV === 'production' ? '' : 'inline-source-map',
devServer: { // 检测代码变化并自动重新编译并自动刷新浏览器
contentBase: path.resolve(__dirname, 'dist'), // 设置静态资源的根目录
hot: true,
hot: true
},
entry: {
module: './src/exportModule.js',
Expand Down

0 comments on commit ae1b27c

Please sign in to comment.