Coder Social home page Coder Social logo

Comments (7)

seanchen1991 avatar seanchen1991 commented on April 28, 2024

Here's the error message I'm getting:
ERROR in ./~/css-loader?localIdentName=[path][name]---[local]---[hash:base64:5]!./~/style-loader!./~/css-loader!./app/app.css Module build failed: CssSyntaxError: /Users/seanchen/karma/admin-refactor/node_modules/style-loader/index.js!/Users/seanchen/karma/admin-refactor/node_modules/css-loader/index.js!/Users/seanchen/karma/admin-refactor/app/app.css:1:4: Unknown word

Really not sure how to get my CSS to render.

from electron-react-boilerplate.

chentsulin avatar chentsulin commented on April 28, 2024

Can you show your css here?

Just like the message you got, I thought It cause by your css or css-loader setting.

/Users/seanchen/karma/admin-refactor/app/app.css:1:4: Unknown word

from electron-react-boilerplate.

seanchen1991 avatar seanchen1991 commented on April 28, 2024

I'm loading a short custom css file and a minified css file. The minified file isn't loading. Is there a setting in webpack that needs to be changed to minified css files?

from electron-react-boilerplate.

chentsulin avatar chentsulin commented on April 28, 2024

Nothing different between web and electron in the way webpack treating css file. You can try to write some own rules for css.

from electron-react-boilerplate.

chentsulin avatar chentsulin commented on April 28, 2024

@seanchen1991 Webpack configs was simplified in the v0.5 release. Have you figured out how to modify your loader config for css now?

from electron-react-boilerplate.

seanchen1991 avatar seanchen1991 commented on April 28, 2024

Yea I figured it out. Thanks.

from electron-react-boilerplate.

billcolumbia avatar billcolumbia commented on April 28, 2024

@seanchen1991 can you post what you did to fix this?

from electron-react-boilerplate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.