News for hackers. Stuff that matters.
Re:Webpack: The Missing Tutorial by eyelidlessness on Monday September 05, 2016 @03:10PM (#12431780)

    require('style!css!../css/style.css');
What is this I don't even.
Re:Webpack: The Missing Tutorial by pigpigs on Tuesday September 06, 2016 @04:49AM (#12434471)
In case it was really a question: this passes `../css/styles.css` into the css loader then the style loader when `require`-ing. Normally this is setup in a webpack.config so you can just do `require('../css/styles.css')` normally
Re:Webpack: The Missing Tutorial by thelarkinn on Monday September 05, 2016 @07:02PM (#12432679)
Not the conventional method of using it. Is a legacy syntax, you just require the file and it will be imperitively loaded via your loader chain.