Skip to content

Commit ea429c9

Browse files
committed
bring back the logger build
1 parent f71a800 commit ea429c9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

build/build.js

+10
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,16 @@ rollup.rollup({
3737
}).code
3838
return write('dist/vuex.min.js', minified)
3939
})
40+
.then(function () {
41+
return rollup.rollup({
42+
entry: 'src/plugins/logger.js',
43+
plugins: [babel()]
44+
}).then(function (bundle) {
45+
return write('logger.js', bundle.generate({
46+
format: 'cjs'
47+
}).code)
48+
})
49+
})
4050
.catch(logError)
4151

4252
function write (dest, code) {

0 commit comments

Comments
 (0)