mirror of
https://github.com/danog/CodiceFiscaleJS.git
synced 2024-11-30 04:29:11 +01:00
Exporting module
This commit is contained in:
parent
cc70ba9c44
commit
ca02e409a2
@ -32732,3 +32732,5 @@ CodiceFiscale.CODICI_CATASTALI = {
|
||||
]
|
||||
]
|
||||
}
|
||||
|
||||
module.exports = CodiceFiscale;
|
||||
|
@ -15,7 +15,7 @@ module.exports = function(config) {
|
||||
|
||||
// list of files / patterns to load in the browser
|
||||
files: [
|
||||
'codice.fiscale.js',
|
||||
'dist/codice.fiscale.js',
|
||||
'tests/specs.js',
|
||||
],
|
||||
|
||||
|
@ -5,6 +5,8 @@ module.exports = {
|
||||
'codice.fiscale': './codice.fiscale.js'
|
||||
},
|
||||
output: {
|
||||
library: 'CodiceFiscale',
|
||||
libraryTarget: 'window',
|
||||
filename: '[name].js',
|
||||
path: path.resolve(__dirname, 'dist')
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user