babel-preset-startupjs 0.61.0 → 0.61.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +3 -0
- package/package.json +3 -3
package/index.js
CHANGED
|
@@ -114,6 +114,9 @@ module.exports = (api, {
|
|
|
114
114
|
compileCssImports
|
|
115
115
|
}],
|
|
116
116
|
|
|
117
|
+
// unwrap imports from 'startupjs-ui' for better tree shaking
|
|
118
|
+
[require('@startupjs/babel-plugin-startupjs')],
|
|
119
|
+
|
|
117
120
|
// auto-load startupjs plugins
|
|
118
121
|
// traverse "exports" of package.json and all dependencies to find all startupjs plugins
|
|
119
122
|
// and automatically import them in the main startupjs.config.js file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babel-preset-startupjs",
|
|
3
|
-
"version": "0.61.
|
|
3
|
+
"version": "0.61.2",
|
|
4
4
|
"description": "Babel preset for compiling StartupJS app on server, web, native",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"exports": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"@babel/plugin-syntax-typescript": "^7.23.3",
|
|
18
18
|
"@startupjs/babel-plugin-eliminator": "^0.61.0",
|
|
19
19
|
"@startupjs/babel-plugin-i18n-extract": "^0.61.0",
|
|
20
|
-
"@startupjs/babel-plugin-startupjs": "^0.61.
|
|
20
|
+
"@startupjs/babel-plugin-startupjs": "^0.61.2",
|
|
21
21
|
"@startupjs/babel-plugin-startupjs-debug": "^0.61.0",
|
|
22
22
|
"@startupjs/babel-plugin-startupjs-plugins": "^0.61.0",
|
|
23
23
|
"@startupjs/babel-plugin-ts-to-json-schema": "^0.61.0"
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"cssxjs": "*"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "00533aa32f235351daadab676a87ca9db0252cbd"
|
|
29
29
|
}
|