1
Fork 0
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:
Steffo 2021-01-25 20:34:22 +01:00
parent 8f00a56979
commit 18f6204bdf
Signed by: steffo
GPG key ID: 6965406171929D01
2 changed files with 13 additions and 1 deletions

View file

@ -14,5 +14,17 @@ module.exports = {
"@babel/preset-react",
"@babel/preset-env"
]
},
webpack: {
rules: {
css: {
modules: true,
localIdentName: (
process.env.NODE_ENV === 'production'
? '[path][name]-[local]-[hash:base64:5]'
: '[hash:base64:5]'
)
}
}
}
}

View file

@ -1,6 +1,6 @@
{
"name": "bluelib",
"version": "0.23.0",
"version": "0.23.1",
"description": "React components for Bluelib",
"main": "lib/index.js",
"module": "es/index.js",