File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ module.exports = {
90
90
** Build configuration
91
91
*/
92
92
build : {
93
- vendor : [ 'vue-lazyload' , 'chroma-js' ] ,
93
+ vendor : [ 'vue-lazyload' ] ,
94
94
plugins : [
95
95
new BundleAnalyzerPlugin ( {
96
96
analyzerMode : 'static' ,
@@ -115,6 +115,10 @@ module.exports = {
115
115
// )
116
116
// babelLoader.exclude = /node_modules\/(?!eagle.js)/
117
117
118
+ // config.externals = {
119
+ // 'highlight.js': 'HighlightJS',
120
+ // }
121
+
118
122
if ( isDev && isClient ) {
119
123
config . module . rules . push ( {
120
124
enforce : 'pre' ,
Original file line number Diff line number Diff line change 7
7
"scripts" : {
8
8
"dev" : " cross-env HOST=0.0.0.0 PORT=3333 nuxt" ,
9
9
"build" : " nuxt build" ,
10
+ "analyse" : " nuxt build --analyze" ,
10
11
"start" : " nuxt start" ,
11
12
"generate" : " nuxt generate" ,
12
13
"deploy" : " push-dir --dir=dist --branch=master --cleanup" ,
13
14
"live" : " npm run generate && npm run deploy" ,
14
15
"lint" : " eslint --ext .js,.vue --ignore-path .gitignore ." ,
15
16
"lintfix" : " eslint --fix --ext .js,.vue --ignore-path .gitignore ." ,
16
17
"check" : " prettier-eslint-check **/*.vue" ,
17
- "eslint-check" : " eslint --print-config .eslintrc.js | eslint-config-prettier-check" ,
18
+ "eslint-check" :
19
+ " eslint --print-config .eslintrc.js | eslint-config-prettier-check" ,
18
20
"precommit" : " npm run eslint-check && npm run lint"
19
21
},
20
- "browserslist" : [
21
- " > 5%" ,
22
- " last 1 versions"
23
- ],
22
+ "browserslist" : [" > 5%" , " last 1 versions" ],
24
23
"dependencies" : {
25
24
"@nuxtjs/dotenv" : " ^1.1.1" ,
26
25
"eagle.js" : " ^0.2.1-beta" ,
You can’t perform that action at this time.
0 commit comments