@danielnogueira808/validations-libs
Version:
```sh npm i --save @danielnogueira808/validations-libs ``` # how to use ``` import { isCNPJ, isCPF } from "@danielnogueira808/validations-libs";
23 lines (21 loc) • 435 B
JavaScript
import path from 'path';
const config = {
entry: {
index:'./src/libs/index.ts'
},
output: {
path: path.resolve('./dist'),
filename: '[name].bundle.js',
clean: true,
library: {
type: 'module',
},
},
resolve: {
extensions: ['.ts', '.js'],
},
experiments: {
outputModule: true,
},
};
export default config;