+15
-2
lines changedFilter options
+15
-2
lines changed Original file line number Diff line number Diff line change
@@ -75,14 +75,24 @@ const builds = {
75
75
format: 'es',
76
76
banner
77
77
},
78
-
// Runtime+compiler CommonJS build (ES Modules)
78
+
// Runtime+compiler ES modules build (for bundlers)
79
79
'web-full-esm': {
80
80
entry: resolve('web/entry-runtime-with-compiler.js'),
81
81
dest: resolve('dist/vue.esm.js'),
82
82
format: 'es',
83
83
alias: { he: './entity-decoder' },
84
84
banner
85
85
},
86
+
// Runtime+compiler ES modules build (for direct import in browser)
87
+
'web-full-esm-browser': {
88
+
entry: resolve('web/entry-runtime-with-compiler.js'),
89
+
dest: resolve('dist/vue.esm.browser.js'),
90
+
format: 'es',
91
+
transpile: false,
92
+
env: 'development',
93
+
alias: { he: './entity-decoder' },
94
+
banner
95
+
},
86
96
// runtime-only build (Browser)
87
97
'web-runtime-dev': {
88
98
entry: resolve('web/entry-runtime.js'),
@@ -205,7 +215,6 @@ function genConfig (name) {
205
215
__VERSION__: version
206
216
}),
207
217
flow(),
208
-
buble(),
209
218
alias(Object.assign({}, aliases, opts.alias))
210
219
].concat(opts.plugins || []),
211
220
output: {
@@ -227,6 +236,10 @@ function genConfig (name) {
227
236
}))
228
237
}
229
238
239
+
if (opts.transpile !== false) {
240
+
config.plugins.push(buble())
241
+
}
242
+
230
243
Object.defineProperty(config, '_name', {
231
244
enumerable: false,
232
245
value: name
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4