-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
webpack: use webpack confg in Mark Text and remove vue cli
- Loading branch information
罗冉
committed
Apr 8, 2019
1 parent
84c3d0b
commit cd9418e
Showing
9 changed files
with
3,143 additions
and
2,600 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"comments": false, | ||
"env": { | ||
"renderer": { | ||
"presets": [ | ||
["env", { | ||
"modules": false, | ||
"useBuiltIns": true, | ||
"targets": { | ||
"browsers": [ | ||
"Chrome >= 66" | ||
] | ||
} | ||
}], | ||
"stage-0" | ||
] | ||
} | ||
}, | ||
"plugins": ["transform-runtime"] | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
module.exports = { | ||
root: true, | ||
parser: 'babel-eslint', | ||
parserOptions: { | ||
ecmaFeatures: { | ||
impliedStrict: true | ||
}, | ||
sourceType: 'module' | ||
}, | ||
env: { | ||
browser: true, | ||
es6: true, | ||
node: true | ||
}, | ||
extends: [ | ||
'standard', | ||
'eslint:recommended', | ||
'plugin:vue/base' // 'plugin:vue/essential' | ||
], | ||
globals: { | ||
__static: true | ||
}, | ||
plugins: [ | ||
'html', | ||
'vue' | ||
], | ||
rules: { | ||
// allow paren-less arrow functions | ||
'arrow-parens': 0, | ||
// allow async-await | ||
'generator-star-spacing': 0, | ||
// allow console | ||
'no-console': 0, | ||
// allow debugger during development | ||
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.