Files
vue-cli/packages/@vue/cli-service
Evan You 1dc47eb955 feat(build): support named exports when building --target lib with js/ts entry
close #1436

BREAKING CHANGE: When building a js/ts entry file with --target lib, the
library now exposes a Module with both default and named exports. This means
in the UMD build, the default export now needs to be accessed as
`window.yourLib.default`, and in the CommonJS build as
`const yourLib = require('yourLib').default`. If you don't have named exports
and want to retain the previous behavior, you can configure webpack to use
`output.libraryExport: 'default'` in `vue.config.js`.
2018-06-05 11:58:17 -04:00
..
2018-01-29 14:48:21 -05:00
2018-01-05 09:20:20 -05:00
2018-05-30 13:42:19 -04:00
2018-02-08 13:34:05 -05:00