Skip to content

Commit a2caf5e

Browse files
committed
(dependencies) add lamejs in optionalDependencies
1 parent 690624e commit a2caf5e

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,8 @@
6464
"v-click-outside": "^3.1.2",
6565
"vue-emoji-picker": "^1.0.1",
6666
"vue-infinite-loading": "^2.4.5"
67+
},
68+
"optionalDependencies": {
69+
"lamejs": "^1.2.0"
6770
}
6871
}

vue.config.js

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
module.exports = {
2-
// configureWebpack: {
3-
// ...(process.env.NODE_ENV === 'production'
4-
// ? {
5-
// externals: {
6-
// 'vue-infinite-loading': 'vue-infinite-loading'
7-
// }
8-
// }
9-
// : {})
10-
// }
2+
chainWebpack: config => {
3+
config.externals({
4+
lamejs: 'lamejs'
5+
})
6+
}
117
}

0 commit comments

Comments
 (0)