Archive @@babel/plugin-syntax-module-string-names (#13246)
babel/babel-archive@15c88ef856
This commit is contained in:
parent
f166b7ae58
commit
07440424d9
@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
"plugins": ["proposal-export-namespace-from", "syntax-module-string-names"]
|
"plugins": ["proposal-export-namespace-from"]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +0,0 @@
|
|||||||
*.log
|
|
||||||
src
|
|
||||||
test
|
|
||||||
@ -1,19 +0,0 @@
|
|||||||
# @babel/plugin-syntax-module-string-names
|
|
||||||
|
|
||||||
> Allow parsing `import { 'any unicode' as bar }` and `export { foo as 'any unicode' }`
|
|
||||||
|
|
||||||
See our website [@babel/plugin-syntax-module-string-names](https://babeljs.io/docs/en/babel-plugin-syntax-module-string-names) for more information.
|
|
||||||
|
|
||||||
## Install
|
|
||||||
|
|
||||||
Using npm:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
npm install --save-dev @babel/plugin-syntax-module-string-names
|
|
||||||
```
|
|
||||||
|
|
||||||
or using yarn:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
yarn add @babel/plugin-syntax-module-string-names --dev
|
|
||||||
```
|
|
||||||
@ -1,29 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "@babel/plugin-syntax-module-string-names",
|
|
||||||
"version": "7.12.13",
|
|
||||||
"description": "Allow parsing `import { 'any unicode' as bar }` and `export { foo as 'any unicode' }`",
|
|
||||||
"repository": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/babel/babel.git",
|
|
||||||
"directory": "packages/babel-plugin-syntax-module-string-names"
|
|
||||||
},
|
|
||||||
"homepage": "https://babel.dev/docs/en/next/babel-plugin-syntax-logical-assignment-operators",
|
|
||||||
"license": "MIT",
|
|
||||||
"publishConfig": {
|
|
||||||
"access": "public"
|
|
||||||
},
|
|
||||||
"main": "./lib/index.js",
|
|
||||||
"exports": "./lib/index.js",
|
|
||||||
"keywords": [
|
|
||||||
"babel-plugin"
|
|
||||||
],
|
|
||||||
"dependencies": {
|
|
||||||
"@babel/helper-plugin-utils": "workspace:^7.12.13"
|
|
||||||
},
|
|
||||||
"peerDependencies": {
|
|
||||||
"@babel/core": "^7.0.0-0"
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
|
||||||
"@babel/core": "workspace:*"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,13 +0,0 @@
|
|||||||
import { declare } from "@babel/helper-plugin-utils";
|
|
||||||
|
|
||||||
export default declare(api => {
|
|
||||||
api.assertVersion(7);
|
|
||||||
|
|
||||||
return {
|
|
||||||
name: "syntax-module-string-names",
|
|
||||||
|
|
||||||
manipulateOptions(opts, parserOpts) {
|
|
||||||
parserOpts.plugins.push("moduleStringNames");
|
|
||||||
},
|
|
||||||
};
|
|
||||||
});
|
|
||||||
@ -1,6 +1,3 @@
|
|||||||
{
|
{
|
||||||
"plugins": [
|
"plugins": [["transform-modules-amd", { "loose": true }]]
|
||||||
["transform-modules-amd", { "loose": true }],
|
|
||||||
"syntax-module-string-names"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
"plugins": ["transform-modules-amd", "syntax-module-string-names"]
|
"plugins": ["transform-modules-amd"]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,3 @@
|
|||||||
{
|
{
|
||||||
"plugins": [
|
"plugins": [["transform-modules-commonjs", { "loose": true }]]
|
||||||
["transform-modules-commonjs", { "loose": true }],
|
|
||||||
"syntax-module-string-names"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
"plugins": ["transform-modules-commonjs", "syntax-module-string-names"]
|
"plugins": ["transform-modules-commonjs"]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
"plugins": ["transform-modules-systemjs", "syntax-module-string-names"]
|
"plugins": ["transform-modules-systemjs"]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,3 @@
|
|||||||
{
|
{
|
||||||
"plugins": [
|
"plugins": [["transform-modules-umd", { "loose": true }]]
|
||||||
["transform-modules-umd", { "loose": true }],
|
|
||||||
"syntax-module-string-names"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
"plugins": ["transform-modules-umd", "syntax-module-string-names"]
|
"plugins": ["transform-modules-umd"]
|
||||||
}
|
}
|
||||||
|
|||||||
11
yarn.lock
11
yarn.lock
@ -1793,17 +1793,6 @@ __metadata:
|
|||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
"@babel/plugin-syntax-module-string-names@workspace:packages/babel-plugin-syntax-module-string-names":
|
|
||||||
version: 0.0.0-use.local
|
|
||||||
resolution: "@babel/plugin-syntax-module-string-names@workspace:packages/babel-plugin-syntax-module-string-names"
|
|
||||||
dependencies:
|
|
||||||
"@babel/core": "workspace:*"
|
|
||||||
"@babel/helper-plugin-utils": "workspace:^7.12.13"
|
|
||||||
peerDependencies:
|
|
||||||
"@babel/core": ^7.0.0-0
|
|
||||||
languageName: unknown
|
|
||||||
linkType: soft
|
|
||||||
|
|
||||||
"@babel/plugin-syntax-nullish-coalescing-operator@npm:^7.8.3":
|
"@babel/plugin-syntax-nullish-coalescing-operator@npm:^7.8.3":
|
||||||
version: 7.8.3
|
version: 7.8.3
|
||||||
resolution: "@babel/plugin-syntax-nullish-coalescing-operator@npm:7.8.3"
|
resolution: "@babel/plugin-syntax-nullish-coalescing-operator@npm:7.8.3"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user