Bundle PrimeReact CSS instead of relying on broken links
This commit is contained in:
parent
ed83ff1bf4
commit
81039ca673
4 changed files with 14 additions and 7 deletions
|
|
@ -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'),
|
||||
|
|
|
|||
Loading…
Reference in a new issue