backend v4 half
This commit is contained in:
Generated
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
// Creates a `package.json` file in the CommonJS `build` folder.
|
||||
// That marks that whole folder as CommonJS so that Node.js doesn't complain
|
||||
// about `require()`-ing those files.
|
||||
|
||||
import fs from 'fs'
|
||||
|
||||
fs.writeFileSync('./build/package.json', JSON.stringify({
|
||||
name: 'libphonenumber-js/build',
|
||||
type: 'commonjs',
|
||||
private: true
|
||||
}, null, 2), 'utf8')
|
||||
Reference in New Issue
Block a user