Fixme

Discover which code snippets in open source project is need to be fixed.

Search Snippets

Upload Tips

We have provided a tool to collect code snippets with FIXME comments and upload them here.

See more

Languages

lc-soft
easy (2 ratings)  •  Last indexed on
refactor webpack config

Add configuration for development environment and production environment respectively. In production environment, the css and js files are required to be compressed.

86
87
88
89
plugins: [
    new ExtractTextPlugin('../stylesheets/[name].css')
  ]
};
lc-soft
so easy (2 ratings)  •  Last indexed on

add babel-loader

20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
rules: [
      {
        test: require.resolve('jquery'),
        use: [{
          loader: 'expose-loader',
          options: 'jQuery'
        },{
          loader: 'expose-loader',
          options: '$'
        }]
      }, {
        test: require.resolve('tether'),
        use: [{
          loader: 'expose-loader',
          options: 'Tether'
        }]