Coder Social home page Coder Social logo

Comments (8)

Cybermage83 avatar Cybermage83 commented on July 28, 2024 1

OKie it looks like i found the real culprit >>
loader: isDev ? 'style-loader!css-loader?sourceMap!sass-loader?sourceMap'
: 'style-loader!css-loader!less-loader'

Right here... definitely need a fix here heh

from rekit.

supnate avatar supnate commented on July 28, 2024

Thanks @Cybermage83 for reporting this. It's not an error but a case not well handled. Don't need to worry about it. I will remove the error msg in the next release.

from rekit.

Cybermage83 avatar Cybermage83 commented on July 28, 2024

Just did true webpack build, got this error, which is probably why i am not generating the main.js

[./index.js] ./index.js 1.75 kB {0} [built]
+ 620 hidden modules

ERROR in multi babel-polyfill ./styles/index.scss ./index
Module not found: Error: Can't resolve 'less-loader' in '...\src'
@ multi babel-polyfill ./styles/index.scss ./index

Less loader??

from rekit.

supnate avatar supnate commented on July 28, 2024

There should be no less-loader in webpack-config.js. Could you check?

from rekit.

Cybermage83 avatar Cybermage83 commented on July 28, 2024

there was one on scss rule, as a final fall back.
also, i got it work, but i had to create a new non functional webpack.config.js and then run webpack to generate main.js after that i could to npm build so that timestamp can be assigned.

I am on windows machine, I don;t know if it matters, but something is weird going for a sass build

from rekit.

supnate avatar supnate commented on July 28, 2024

I did find an error in the generated sass project. In webapck-config.js there's a less-loader for scss files, it should be sass-loader:

{
test: /.scss$/,
loader: isDev ? 'style-loader!css-loader?sourceMap!sass-loader?sourceMap'
: 'style-loader!css-loader!sass-loader'
}

I've not found why it just works on my machine, will investigate.

from rekit.

Cybermage83 avatar Cybermage83 commented on July 28, 2024

cool, glad we got that figured out. Thanks.

from rekit.

supnate avatar supnate commented on July 28, 2024

The bug was fixed in the latest 2.0.6 version.

from rekit.

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.