Skip to content

Commit 6edf421

Browse files
committed
Revert "babel config unexplainably caused an odd image import issue in vue-loader 16.7.0"
This reverts commit 76ca4d4.
1 parent 76ca4d4 commit 6edf421

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

test/functional.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1537,6 +1537,15 @@ module.exports = {
15371537
config.enableSassLoader();
15381538
config.enableLessLoader();
15391539
config.enableTypeScriptLoader();
1540+
config.configureBabel(function(config) {
1541+
config.presets = [
1542+
['@babel/preset-env', {
1543+
'targets': {
1544+
'chrome': 52
1545+
}
1546+
}]
1547+
];
1548+
});
15401549

15411550
testSetup.runWebpack(config, (webpackAssert) => {
15421551
expect(config.outputPath).to.be.a.directory().with.deep.files([

0 commit comments

Comments
 (0)