mirror of
				https://github.com/KevinMidboe/vue-js-modal.git
				synced 2025-10-29 18:00:20 +00:00 
			
		
		
		
	extracting css
This commit is contained in:
		
							
								
								
									
										24
									
								
								build/webpack.srr-no-css.config.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								build/webpack.srr-no-css.config.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,24 @@ | ||||
| const path = require('path') | ||||
| const webpack = require('webpack') | ||||
| const merge = require('webpack-merge') | ||||
| const ExtractTextPlugin = require('extract-text-webpack-plugin') | ||||
|  | ||||
| const base = require('./webpack.srr.config') | ||||
|  | ||||
| module.exports = merge(base, { | ||||
|   plugins: [new ExtractTextPlugin('styles.css')], | ||||
|   output: { | ||||
|     filename: 'ssr.pure.js' | ||||
|   }, | ||||
|   module: { | ||||
|     rules: [ | ||||
|       { | ||||
|         test: /\.css$/, | ||||
|         use: ExtractTextPlugin.extract({ | ||||
|           fallback: 'style-loader', | ||||
|           use: 'css-loader' | ||||
|         }) | ||||
|       } | ||||
|     ] | ||||
|   } | ||||
| }) | ||||
		Reference in New Issue
	
	Block a user