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