Skip to content
This repository was archived by the owner on Mar 17, 2021. It is now read-only.

Commit 304e03f

Browse files
committed
Specified external deps and global vars
1 parent 5532928 commit 304e03f

File tree

5 files changed

+9
-10
lines changed

5 files changed

+9
-10
lines changed

build/rollup.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,14 @@ const baseConfig = {
2222
const external = [
2323
// list external dependencies, exactly the way it is written in the import statement.
2424
// eg. 'jquery'
25+
'fuzzysearch',
26+
'vue',
2527
];
2628
const globals = {
2729
// Provide global variable names to replace your external imports
2830
// eg. jquery: '$'
31+
fuzzysearch: 'fuzzysearch',
32+
vue: 'Vue',
2933
};
3034

3135
export default [

dist/modulist-vue.common.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/modulist-vue.esm.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/modulist-vue.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,8 @@
4747
"pre-commit": "lint-staged"
4848
},
4949
"lint-staged": {
50-
"*.{js,vue}": [
51-
"vue-cli-service lint",
52-
"git add"
53-
],
54-
"ignore": [
55-
"**/dist/*.js"
56-
]
50+
"*.{js,vue}": ["vue-cli-service lint", "git add"],
51+
"ignore": ["**/dist/*.js"]
5752
},
5853
"directories": {
5954
"doc": "docs",

0 commit comments

Comments
 (0)