text: module.exports = {
    entry: './src/js/app.js',
    output: {
      path: __dirname + '/dist',
      filename: 'bundle.js'
    },
    module: {
      loaders: [{
          test: /\.[ot]tf$/,
          loader: 'url?limit=65000&mimetype=application/octet-stream&name=public/fonts/[name].[ext]'
        },
        // {
        //   test: /\.(png|woff|woff2|eot|ttf|svg)$/,
        //   loader: 'url-loader?limit=100000'
        // }
      ],
      rules: [{
        test: require.resolve('snapsvg/dist/snap.svg.js'),
        use: 'imports-loader?this=>window,fix=>module.exports=0',
      }, {
        test: /\.scss$/,
        use: [{
          loader: "style-loader"
        }, {
          loader: "css-loader"
        }, {
          loader: "sass-loader",
          options: {
            includePaths: ["absolute/path/a", "absolute/path/b"]
          }
        }]
      }, {
        test: /\.css$/,
        loader: ['style-loader', 'css-loader']
      }, {
        test: /\.(png|jpg)$/,
        loader: 'url-loader'
      }, {
        test: /\.(ttf|eot|woff|woff2)$/,
        loader: "file-loader",
        options: {
          name: "fonts/[name].[ext]",
        },
      }],
    },
    resolve: {
      alias: {
        snapsvg: 'snapsvg/dist/snap.svg.js',
      }
    }
  };
  