We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b422cfc commit 5511363Copy full SHA for 5511363
lib/loader.js
@@ -55,10 +55,11 @@ module.exports = function (content) {
55
this.sourceMap &&
56
options.cssSourceMap !== false
57
58
+ var bubleOptions = hasBuble && options.buble ? '?' + JSON.stringify(options.buble) : ''
59
var defaultLoaders = {
60
html: templateCompilerPath + '?id=' + moduleId,
61
css: styleLoaderPath + '!css-loader' + (needCssSourceMap ? '?sourceMap' : ''),
- js: hasBuble ? 'buble-loader' : hasBabel ? 'babel-loader' : ''
62
+ js: hasBuble ? ('buble-loader' + bubleOptions) : hasBabel ? 'babel-loader' : ''
63
}
64
65
// check if there are custom loaders specified via
0 commit comments