@startupjs/bundler 0.56.0-alpha.2 → 0.56.0-alpha.4
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/lib/eliminatorLoader.js +1 -1
- package/package.json +5 -5
package/lib/eliminatorLoader.js
CHANGED
|
@@ -28,7 +28,7 @@ module.exports = function eliminatorLoader (source) {
|
|
|
28
28
|
require('@babel/plugin-syntax-jsx'),
|
|
29
29
|
// transform pug to jsx. This generates a bunch of new AST nodes
|
|
30
30
|
// (it's important to do this first before any dead code elimination runs)
|
|
31
|
-
[require('babel-plugin-transform-react-pug'), {
|
|
31
|
+
[require('@startupjs/babel-plugin-transform-react-pug'), {
|
|
32
32
|
classAttribute: 'styleName'
|
|
33
33
|
}],
|
|
34
34
|
// support calling sub-components in pug (like <Modal.Header />)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@startupjs/bundler",
|
|
3
|
-
"version": "0.56.0-alpha.
|
|
3
|
+
"version": "0.56.0-alpha.4",
|
|
4
4
|
"description": "Opinionated scripts and configs to develop a react-native-web project",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"publishConfig": {
|
|
@@ -25,10 +25,11 @@
|
|
|
25
25
|
"@startupjs/babel-plugin-react-css-modules": "^6.5.4-1",
|
|
26
26
|
"@startupjs/babel-plugin-react-pug-classnames": "^0.56.0-alpha.0",
|
|
27
27
|
"@startupjs/babel-plugin-startupjs-plugins": "^0.56.0-alpha.1",
|
|
28
|
+
"@startupjs/babel-plugin-transform-react-pug": "^7.0.1-0",
|
|
28
29
|
"@startupjs/css-to-react-native-transform": "^1.9.0-2",
|
|
29
30
|
"@startupjs/plugin": "^0.56.0-alpha.0",
|
|
30
31
|
"@startupjs/registry": "^0.56.0-alpha.2",
|
|
31
|
-
"@startupjs/server": "^0.56.0-alpha.
|
|
32
|
+
"@startupjs/server": "^0.56.0-alpha.3",
|
|
32
33
|
"@svgr/core": "^8.1.0",
|
|
33
34
|
"@svgr/plugin-jsx": "^8.1.0",
|
|
34
35
|
"@svgr/plugin-svgo": "^8.1.0",
|
|
@@ -36,8 +37,7 @@
|
|
|
36
37
|
"assets-webpack-plugin": "^7.1.1",
|
|
37
38
|
"autoprefixer": "^10.4.0",
|
|
38
39
|
"babel-loader": "^8.2.3",
|
|
39
|
-
"babel-
|
|
40
|
-
"babel-preset-startupjs": "^0.56.0-alpha.2",
|
|
40
|
+
"babel-preset-startupjs": "^0.56.0-alpha.4",
|
|
41
41
|
"connect": "^3.7.0",
|
|
42
42
|
"css-loader": "^6.5.0",
|
|
43
43
|
"css-minimizer-webpack-plugin": "^5.0.0",
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"peerDependencies": {
|
|
62
62
|
"react-native-svg": "*"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "c0ecc933d28d52cf2e269b390f692ad87216ec23"
|
|
65
65
|
}
|