mirror of
https://github.com/danog/CodiceFiscaleJS.git
synced 2024-12-02 09:27:51 +01:00
19 lines
364 B
JavaScript
19 lines
364 B
JavaScript
const path = require('path'),
|
|
UglifyJSPlugin = require('uglifyjs-webpack-plugin');
|
|
|
|
|
|
module.exports = {
|
|
entry: {
|
|
'codice.fiscale': './lib/codice.fiscale.js'
|
|
},
|
|
output: {
|
|
library: 'CodiceFiscale',
|
|
libraryTarget: 'window',
|
|
filename: '[name].js',
|
|
path: path.resolve(__dirname, 'dist')
|
|
},
|
|
plugins: [
|
|
new UglifyJSPlugin()
|
|
]
|
|
};
|