visionforge/demo/playground/webpack.config.d/01.ring.js

23 lines
543 B
JavaScript
Raw Normal View History

2021-05-10 22:07:16 +03:00
const ringConfig = require('@jetbrains/ring-ui/webpack.config').config;
2022-01-07 20:37:31 +03:00
const path = require('path');
2021-05-10 22:07:16 +03:00
2022-01-07 12:29:43 +03:00
config.module.rules.push(...ringConfig.module.rules)
config.module.rules.push(
{
test: /\.css$/,
exclude: [
2022-01-07 20:37:31 +03:00
path.resolve(__dirname, "../../node_modules/@jetbrains/ring-ui")
2022-01-07 12:29:43 +03:00
],
use: [
{
loader: 'style-loader',
options: {}
},
{
loader: 'css-loader',
options: {}
}
]
}
)