haustraliaer / sass-webpack

Testing the sass loader imports with webpack.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sass Test

Installation

  1. Clone this repo and change the origin git remote.
  2. Install node modules:
npm install

Build bundle

npm run build
  • Files output to public/dev/.

Development server

npm start
open http://localhost:8080/
  • The configuration is webpack.config.js.
  • Static HTML and asset files are served from server/dev/.

Testing the sass imports

Uncomment the @import '~css-globals/index'; in app/views/View3:

webpack-dev-server and webpack commands both hang...

It seems like ~3 imports of the same file is about the limit.

About

Testing the sass loader imports with webpack.


Languages

Language:CSS 80.5%Language:JavaScript 16.6%Language:HTML 2.9%