Commit b53c6468 authored by huanglu's avatar huanglu

增加eslint

parent 8325f152
...@@ -2,4 +2,4 @@ import HelloWorld from './hello-world' ...@@ -2,4 +2,4 @@ import HelloWorld from './hello-world'
export { export {
HelloWorld HelloWorld
} }
\ No newline at end of file
...@@ -11,7 +11,7 @@ const resolve = (dir) => { ...@@ -11,7 +11,7 @@ const resolve = (dir) => {
module.exports = { module.exports = {
publicPath: customConfig.publicPath || "/", publicPath: customConfig.publicPath || "/",
lintOnSave: false, lintOnSave: true,
pages: customConfig.pages, pages: customConfig.pages,
outputDir: customConfig.ouputDir || 'dist', outputDir: customConfig.ouputDir || 'dist',
chainWebpack: config => { chainWebpack: config => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment