mirror of
				https://github.com/CorentinTh/it-tools.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			29 lines
		
	
	
		
			543 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			543 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
const webpack = require('webpack');
 | 
						|
 | 
						|
module.exports = {
 | 
						|
  "transpileDependencies": [
 | 
						|
    "vuetify"
 | 
						|
  ],
 | 
						|
  configureWebpack: () => {
 | 
						|
    return {
 | 
						|
      module:{
 | 
						|
        rules: [
 | 
						|
          { test: /\.md$/, use: 'raw-loader' }
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      plugins: [
 | 
						|
        new webpack.DefinePlugin({
 | 
						|
          'process.env': {
 | 
						|
            'APPLICATION_VERSION': JSON.stringify(require('./package.json').version),
 | 
						|
          }
 | 
						|
        })
 | 
						|
      ]
 | 
						|
    }
 | 
						|
  },
 | 
						|
  pwa: {
 | 
						|
    workboxOptions: {
 | 
						|
      skipWaiting: true,
 | 
						|
      clientsClaim: true,
 | 
						|
    }
 | 
						|
  }
 | 
						|
} |