implement autoprefixer & cssnano with postcss
This commit is contained in:
parent
a3c3940563
commit
433704e08a
10 changed files with 968 additions and 11 deletions
950
assets/package-lock.json
generated
950
assets/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -11,6 +11,8 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^18.6.5",
|
"@types/node": "^18.6.5",
|
||||||
"@types/phoenix": "^1.5.4",
|
"@types/phoenix": "^1.5.4",
|
||||||
|
"autoprefixer": "^10.4.13",
|
||||||
|
"cssnano": "^5.1.14",
|
||||||
"phoenix_live_view": "^0.18.11",
|
"phoenix_live_view": "^0.18.11",
|
||||||
"sass": "^1.54.3",
|
"sass": "^1.54.3",
|
||||||
"vite": "^4.0.4"
|
"vite": "^4.0.4"
|
||||||
|
|
5
assets/postcss.config.cjs
Normal file
5
assets/postcss.config.cjs
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
module.exports = {
|
||||||
|
plugins: [require("autoprefixer"),require('cssnano')({
|
||||||
|
preset: 'default',
|
||||||
|
})],
|
||||||
|
};
|
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
BIN
priv/static/assets/app-886b42059335aca46accf14f3af4de3d.css.gz
Normal file
BIN
priv/static/assets/app-886b42059335aca46accf14f3af4de3d.css.gz
Normal file
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue