CodiceFiscaleJS/webpack.config.js
Walter Barbagallo ca02e409a2 Exporting module
2017-03-10 12:20:20 +01:00

14 lines
257 B
JavaScript

const path = require('path');
module.exports = {
entry: {
'codice.fiscale': './codice.fiscale.js'
},
output: {
library: 'CodiceFiscale',
libraryTarget: 'window',
filename: '[name].js',
path: path.resolve(__dirname, 'dist')
}
};