@component-hook/create-app 1.4.1 → 1.4.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/dist/index.mjs
CHANGED
|
@@ -207,7 +207,7 @@ With no arguments, start the CLI in interactive mode.
|
|
|
207
207
|
|
|
208
208
|
Options:
|
|
209
209
|
-t, --template [name] Choose a framework template
|
|
210
|
-
-c, --ci [name] Choose CI/CD (options: github-actions, gitlab-ci, none)
|
|
210
|
+
-c, --ci [name] Choose CI/CD (options: github-actions, gitlab-ci, none)
|
|
211
211
|
-h, --help Display this help message
|
|
212
212
|
|
|
213
213
|
Available templates:
|
package/package.json
CHANGED
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
import autoprefixer from 'autoprefixer';
|
|
2
1
|
import cssnano from 'cssnano';
|
|
3
2
|
import postcssPresetEnv from 'postcss-preset-env';
|
|
4
3
|
import postcssPxtorem from 'postcss-pxtorem';
|
|
5
4
|
|
|
6
5
|
export default {
|
|
7
6
|
plugins: [
|
|
8
|
-
|
|
7
|
+
postcssPresetEnv({ stage: 3 }),
|
|
9
8
|
postcssPxtorem({
|
|
10
9
|
rootValue: 16,
|
|
11
10
|
propList: ['*'],
|
|
12
11
|
selectorBlackList: ['norem'],
|
|
13
12
|
}),
|
|
14
|
-
postcssPresetEnv({ stage: 3 }),
|
|
15
13
|
...(process.env.NODE_ENV === 'production' ? [cssnano({ preset: 'default' })] : []),
|
|
16
14
|
],
|
|
17
15
|
};
|