Git Product home page Git Product logo

Comments (14)

 avatar commented on May 20, 2024 3

Would one of the authors of this package be willing to suggest how they would suggest go about approaching this? I'm willing to give it a ago, since as a library author myself, this will make my distribution documentation much easier.

One thing that I'm not clear on though is what is require('myModule')'s package.json contains both a main and a style property. My feeling is that it should pull in both the CSS and the JS...

from css-loader.

michael-ciniawsky avatar michael-ciniawsky commented on May 20, 2024 1

ping @jonathantneal :)

from css-loader.

mmrko avatar mmrko commented on May 20, 2024

+1

from css-loader.

namjul avatar namjul commented on May 20, 2024

+1

from css-loader.

Matt-Butler avatar Matt-Butler commented on May 20, 2024

+1

from css-loader.

misterjt avatar misterjt commented on May 20, 2024

+1

from css-loader.

bjankord avatar bjankord commented on May 20, 2024

+1

from css-loader.

hershmire avatar hershmire commented on May 20, 2024

Is there any talk on supporting this in Webpack?

from css-loader.

springuper avatar springuper commented on May 20, 2024

+1

from css-loader.

roman-vanesyan avatar roman-vanesyan commented on May 20, 2024

Any updates on the thread?

from css-loader.

just-boris avatar just-boris commented on May 20, 2024

I can confirm. The feature is available at least since Webpack 3.5.1 with is currently used in Create-react-app.

from css-loader.

 avatar commented on May 20, 2024

@just-boris - I don't see css-loader in the create-react-app dependencies. I'm trying to get it working and if they are using it, I might be able to follow along as an example.

@d3viant0ne - Could you possibly confirm why this was closed? Has it been implemented now - I don't see anything in the recent commits related to it, but I might just be missing it. Or was it closed as this feature not going to be implemented?

from css-loader.

frenzzy avatar frenzzy commented on May 20, 2024

@DataTables
css-loader in create-react-app: https://github.com/facebookincubator/create-react-app/blob/54f7da9bb92f0c809fb24c7f22d7457acbfe851f/packages/react-scripts/package.json#L33

style field usage example: https://github.com/necolas/normalize.css/blob/73b6b0c7e8690ab5005bca9d7e13d3fb319c98ac/package.json#L6

from css-loader.

vidartf avatar vidartf commented on May 20, 2024

Xref #683

from css-loader.

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.