When i start webpack-electron some errors with css files occur. If I start the webpack-dev-server it works well.... Does somebody have an idea to fix that ?
Thanke you :)
ERROR in ./src/modules/live-preview/live-preview.css 1:0
Module parse failed: Unexpected token (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
> .live-preview {
| position: sticky;
| top: 20%;
@ ./src/modules/live-preview/index.ts 2:0-28
@ ./src/app.tsx
@ ./src/index.tsx
@ multi ./src/index.tsx
ERROR in ./src/styles.css 1:11
Module parse failed: Unexpected token (1:11)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
> html, body {
| height: 100%;
| }
@ ./src/index.tsx 7:0-22
@ multi ./src/index.tsx
ERROR in ./node_modules/json-path-picker/lib/json-path-picker.css 2:28
Module parse failed: Unexpected token (2:28)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| /* Syntax highlighting for JSON objects */
> ul.json-dict, ol.json-array {
| list-style-type: none;
| margin: 0 0 0 1px;
@ ./src/index.tsx 6:0-51
@ multi ./src/index.tsx
ERROR in ./node_modules/bootstrap/dist/css/bootstrap.css 7:0
Module parse failed: Unexpected token (7:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
| */
> :root {
| --blue: #007bff;
| --indigo: #6610f2;
@ ./src/index.tsx 4:0-42
@ multi ./src/index.tsx
When i start webpack-electron some errors with css files occur. If I start the webpack-dev-server it works well.... Does somebody have an idea to fix that ? Thanke you :)
This is my Webpack config