[solved] Usage with Playroom #884
Unanswered
bartekczyz
asked this question in
Q&A
Replies: 1 comment
-
Seems like loaders were targeting source codes, I had to exclude node modules. Here's updated rule: {
test: /\.vanilla\.css$/i, // Targets only CSS files generated by vanilla-extract
exclude: /node_modules/, // <- this fixed the problem
use: [
MiniCssExtractPlugin.loader,
{
loader: require.resolve('css-loader'),
options: {
url: false, // Required as image imports should be handled via JS/TS import statements
},
},
],
}, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I would like to ask for some help with configuring Playroom for the lib I'm creating.
Here's my
playroom.config.js
But I'm getting errors when starting playroom:
However building and serving works fine. Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions