diff --git a/packages/example-react/webpack.config.js b/packages/example-react/webpack.config.js index db52cc5e..df350d32 100644 --- a/packages/example-react/webpack.config.js +++ b/packages/example-react/webpack.config.js @@ -17,7 +17,7 @@ module.exports = { use: [ { loader: 'babel-loader', - options: require('../../babel.config.js') + options: require('../../babel.config.cjs') } ] } diff --git a/packages/example-vue/webpack.config.js b/packages/example-vue/webpack.config.js index 1d20526a..ed12c62d 100644 --- a/packages/example-vue/webpack.config.js +++ b/packages/example-vue/webpack.config.js @@ -18,7 +18,7 @@ module.exports = { use: [ { loader: 'babel-loader', - options: require('../../babel.config.js') + options: require('../../babel.config.cjs') } ] },