mirror of
https://github.com/Steffo99/bluelib.git
synced 2024-12-22 11:34:21 +00:00
✨ Include CSS in the build (probably)
This commit is contained in:
parent
8f00a56979
commit
18f6204bdf
2 changed files with 13 additions and 1 deletions
|
@ -14,5 +14,17 @@ module.exports = {
|
||||||
"@babel/preset-react",
|
"@babel/preset-react",
|
||||||
"@babel/preset-env"
|
"@babel/preset-env"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
webpack: {
|
||||||
|
rules: {
|
||||||
|
css: {
|
||||||
|
modules: true,
|
||||||
|
localIdentName: (
|
||||||
|
process.env.NODE_ENV === 'production'
|
||||||
|
? '[path][name]-[local]-[hash:base64:5]'
|
||||||
|
: '[hash:base64:5]'
|
||||||
|
)
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "bluelib",
|
"name": "bluelib",
|
||||||
"version": "0.23.0",
|
"version": "0.23.1",
|
||||||
"description": "React components for Bluelib",
|
"description": "React components for Bluelib",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"module": "es/index.js",
|
"module": "es/index.js",
|
||||||
|
|
Loading…
Reference in a new issue