Transpile examples for use with IE 11

This commit is contained in:
ahocevar
2018-07-08 22:24:29 +02:00
parent 84a88616a8
commit f3f0403cec
2 changed files with 14 additions and 1 deletions

View File

@@ -18,6 +18,18 @@ module.exports = {
context: src,
target: 'web',
entry: entry,
module: {
rules: [{
use: {
loader: 'buble-loader'
},
test: /\.js$/,
include: [
path.join(__dirname, '..', '..', 'src'),
path.join(__dirname, '..')
]
}]
},
optimization: {
runtimeChunk: {
name: 'common'