babel-preset-startupjs 0.61.2 → 0.61.3
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 +5 -4
- package/package.json +3 -3
package/index.js
CHANGED
|
@@ -114,9 +114,6 @@ 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
|
-
|
|
120
117
|
// auto-load startupjs plugins
|
|
121
118
|
// traverse "exports" of package.json and all dependencies to find all startupjs plugins
|
|
122
119
|
// and automatically import them in the main startupjs.config.js file
|
|
@@ -262,7 +259,11 @@ module.exports = (api, {
|
|
|
262
259
|
)
|
|
263
260
|
}],
|
|
264
261
|
|
|
265
|
-
//
|
|
262
|
+
// -- optimizations
|
|
263
|
+
// unwrap imports from 'startupjs-ui' for better tree shaking
|
|
264
|
+
require('@startupjs/babel-plugin-startupjs'),
|
|
265
|
+
|
|
266
|
+
// -- debugging features
|
|
266
267
|
require('@startupjs/babel-plugin-startupjs-debug'),
|
|
267
268
|
require('@startupjs/babel-plugin-i18n-extract')
|
|
268
269
|
].filter(Boolean)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babel-preset-startupjs",
|
|
3
|
-
"version": "0.61.
|
|
3
|
+
"version": "0.61.3",
|
|
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.3",
|
|
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": "4d14704ebbbcddd4de51dc8b1f5432f1f855b544"
|
|
29
29
|
}
|