Skip to content

Instantly share code, notes, and snippets.

@dhilipkmr
Created April 6, 2020 09:16
Show Gist options
  • Save dhilipkmr/0a3e6e5fabc80cf2f9f457500181e3e9 to your computer and use it in GitHub Desktop.
Save dhilipkmr/0a3e6e5fabc80cf2f9f457500181e3e9 to your computer and use it in GitHub Desktop.
   plugins: [
        new OptimizeCssPlugin(
          [
            {
              files: ['./src/*/*.js', './src/*/*/*.js', './server/*.js', './server/*/*.js', './server/*/*/*.js', './plain_js/*.js'],
              cssPath: `https://goibibo.ibcdn.com/styleguide/css/newtrains/trainCombined.${Math.ceil(Math.random()*1000)}.css`,
              downloadCssPath: `./static/trains-static/styles/combinedStyles.css`,
              outputCssPath: `./static/trains-static/styles/purified.css`
            }
          ]
        )
     ]
// other configs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment