mirror of
https://github.com/arthurfiorette/axios-cache-interceptor.git
synced 2025-12-08 17:36:16 +00:00
build: remove .min at umd bundles
This commit is contained in:
parent
ad51c238bc
commit
5a7e01553e
@ -5,8 +5,8 @@
|
||||
|
||||
echo "\nStarting checking...\n"
|
||||
|
||||
es-check es5 umd/es5.min.js &
|
||||
es-check es6 umd/es6.min.js &
|
||||
es-check es5 umd/es5.js &
|
||||
es-check es6 umd/es6.js &
|
||||
|
||||
wait
|
||||
|
||||
|
||||
@ -63,11 +63,11 @@ const config = ({ output, esTarget }) => ({
|
||||
module.exports = [
|
||||
config({
|
||||
esTarget: 'es2015', //es6
|
||||
output: 'umd/es6.min'
|
||||
output: 'umd/es6'
|
||||
}),
|
||||
config({
|
||||
esTarget: 'es5',
|
||||
output: 'umd/es5.min'
|
||||
output: 'umd/es5'
|
||||
}),
|
||||
config({
|
||||
esTarget: 'es2017',
|
||||
|
||||
@ -17,8 +17,8 @@ The UMD code is compiled with `webpack` to support `>= ES5`. See the
|
||||
[build config](build/webpack.config.js). You can import these files anywhere (Browser,
|
||||
CommonsJS, ESM and more)
|
||||
|
||||
- `axios-cache-interceptor/umd/es6.min.js`: Production file for ES6+
|
||||
- `axios-cache-interceptor/umd/es5.min.js`: Production file for ES5+
|
||||
- `axios-cache-interceptor/umd/es6.js`: Production file for ES6+
|
||||
- `axios-cache-interceptor/umd/es5.js`: Production file for ES5+
|
||||
- `axios-cache-interceptor/umd/index.js`: Production file for ES2017+
|
||||
|
||||
```html
|
||||
|
||||
@ -8,11 +8,11 @@
|
||||
"exports": {
|
||||
"import": "./esm/index.js",
|
||||
"require": "./cjs/index.js",
|
||||
"default": "./umd/es6.min.js"
|
||||
"default": "./umd/es6.js"
|
||||
},
|
||||
"browser": "./umd/es6.min.js",
|
||||
"jsdelivr": "./umd/es6.min.js",
|
||||
"unpkg": "./umd/es6.min.js",
|
||||
"browser": "./umd/es6.js",
|
||||
"jsdelivr": "./umd/es6.js",
|
||||
"unpkg": "./umd/es6.js",
|
||||
"runkitExampleFilename": "./examples/runkit.js",
|
||||
"scripts": {
|
||||
"build": "sh build/build.sh",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user