File tree 4 files changed +13
-5
lines changed
4 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ node_modules
3
3
TODO.md
4
4
lib
5
5
docs /_book
6
- logger.js
7
6
examples /** /build.js
8
7
types /typings
9
8
types /test /* .js
Original file line number Diff line number Diff line change
1
+ const buble = require ( 'rollup-plugin-buble' )
2
+
3
+ module . exports = {
4
+ entry : 'src/plugins/logger.js' ,
5
+ dest : 'dist/logger.js' ,
6
+ format : 'umd' ,
7
+ moduleName : 'createVuexLogger' ,
8
+ plugins : [ buble ( ) ]
9
+ }
File renamed without changes.
Original file line number Diff line number Diff line change 9
9
" src" ,
10
10
" types/index.d.ts" ,
11
11
" types/helpers.d.ts" ,
12
- " types/vue.d.ts" ,
13
- " logger.js" ,
14
- " logger.d.ts"
12
+ " types/vue.d.ts"
15
13
],
16
14
"scripts" : {
17
15
"dev" : " node examples/server.js" ,
18
16
"dev:dist" : " rollup -wm -c build/rollup.config.js" ,
19
- "build" : " rollup -c build/rollup.config.js && uglifyjs dist/vuex.js -cm --comments -o dist/vuex.min.js" ,
17
+ "build" : " npm run build:main && npm run build:logger" ,
18
+ "build:main" : " rollup -c build/rollup.config.js && uglifyjs dist/vuex.js -cm --comments -o dist/vuex.min.js" ,
19
+ "build:logger" : " rollup -c build/rollup.logger.config.js" ,
20
20
"test" : " eslint src && npm run test:unit && npm run test:e2e" ,
21
21
"test:unit" : " rollup -c build/rollup.config.js && jasmine JASMINE_CONFIG_PATH=test/unit/jasmine.json" ,
22
22
"test:e2e" : " node test/e2e/runner.js" ,
You can’t perform that action at this time.
0 commit comments