Improve @babel/runtime esm stability (#12883)
This commit is contained in:
8
test/runtime-integration/webpack-3/package.json
Normal file
8
test/runtime-integration/webpack-3/package.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"name": "@babel-internal/runtime-integration-webpack-3",
|
||||
"private": true,
|
||||
"devDependencies": {
|
||||
"@babel/runtime": "workspace:*",
|
||||
"webpack": "^3.12.0"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
const path = require("path");
|
||||
|
||||
module.exports = {
|
||||
entry: path.join(__dirname, "../src/absolute/main-esm.mjs"),
|
||||
output: {
|
||||
path: __dirname,
|
||||
filename: "output-absolute.js",
|
||||
},
|
||||
|
||||
devtool: false,
|
||||
};
|
||||
11
test/runtime-integration/webpack-3/webpack.config.js
Normal file
11
test/runtime-integration/webpack-3/webpack.config.js
Normal file
@@ -0,0 +1,11 @@
|
||||
const path = require("path");
|
||||
|
||||
module.exports = {
|
||||
entry: path.join(__dirname, "../src/main-esm.mjs"),
|
||||
output: {
|
||||
path: __dirname,
|
||||
filename: "output.js",
|
||||
},
|
||||
|
||||
devtool: false,
|
||||
};
|
||||
Reference in New Issue
Block a user