Improve @babel/runtime esm stability (#12883)

This commit is contained in:
Nicolò Ribaudo
2021-02-24 20:04:03 +01:00
committed by GitHub
parent c9da9650eb
commit 6a471decc3
47 changed files with 2535 additions and 159 deletions

View 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"
}
}

View File

@@ -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,
};

View 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,
};