SHARE
TWEET

Untitled

a guest Mar 20th, 2017 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // webpack.config.js
  2.  
  3. module: {
  4.   rules: [
  5.     {
  6.       test: /\.(css)$/,
  7.       use: [{
  8.           loader: 'style-loader', // injects CSS into <style> nodes in <head>
  9.         }, {
  10.           loader: 'css-loader', // translates CSS into javascript modules
  11.         }]
  12.     },
  13.     ...
  14.   ]
  15. },
RAW Paste Data
Top