Bundle PrimeReact CSS instead of relying on broken links

This commit is contained in:
ochafik 2023-10-18 01:51:30 +01:00
commit 81039ca673
4 changed files with 14 additions and 7 deletions

View file

@ -15,6 +15,7 @@ module.exports = {
{
test: /\.css$/i,
use: [
"style-loader",
{
loader: 'css-loader',
options:{url: false},
@ -46,6 +47,11 @@ module.exports = {
from: path.resolve(__dirname, 'public'),
toType: 'dir',
},
{
from: path.resolve(__dirname, 'node_modules/primeicons/fonts'),
to: path.resolve(__dirname, 'dist/fonts'),
toType: 'dir',
},
{
from: path.resolve(__dirname, 'src/wasm/openscad.js'),
from: path.resolve(__dirname, 'src/wasm/openscad.wasm'),