extractTextPlugin.test.js.snap 580 B

123456789101112131415161718192021222324
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`extractTextPlugin transforms correctly 1`] = `
  3. "let ExtractTextPlugin = require('extract-text-webpack-plugin');
  4. let HTMLWebpackPlugin = require('html-webpack-plugin');
  5. module.export = {
  6. module: {
  7. rules: [
  8. {
  9. test: /\\\\.css$/,
  10. use: ExtractTextPlugin.extract({
  11. fallback: 'style-loader',
  12. use: 'css-loader'
  13. })
  14. }
  15. ]
  16. },
  17. plugins: [
  18. new ExtractTextPlugin(\\"styles.css\\"),
  19. ]
  20. }
  21. "
  22. `;