mirror of
				https://github.com/cinnyapp/cinny.git
				synced 2025-11-04 14:30:29 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			27 lines
		
	
	
	
		
			525 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
	
		
			525 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
const path = require('path');
 | 
						|
const common = require('./webpack.common');
 | 
						|
const { merge } = require('webpack-merge');
 | 
						|
 | 
						|
module.exports = merge(common, {
 | 
						|
  mode: 'development',
 | 
						|
  output: {
 | 
						|
    path: path.resolve(__dirname, 'dist'),
 | 
						|
    filename: '[name].bundle.js',
 | 
						|
    publicPath: '/',
 | 
						|
  },
 | 
						|
  devServer: {
 | 
						|
    historyApiFallback: true,
 | 
						|
  },
 | 
						|
  module: {
 | 
						|
    rules: [
 | 
						|
      {
 | 
						|
        test: /\.s?css$/,
 | 
						|
        use: [
 | 
						|
          'style-loader',
 | 
						|
          'css-loader',
 | 
						|
          'sass-loader',
 | 
						|
        ],
 | 
						|
      },
 | 
						|
    ],
 | 
						|
  },
 | 
						|
});
 |