Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bfd6382

Browse filesBrowse files
🤖 build: Configure microbundle to produce build.
These changes were automatically generated by a transform whose code can be found at: - https://github.com/aureooms/rejuvenate/blob/eb1b209cd7aa675a642d48b2a788c2c6112779f7/src/transforms/build:use-microbundle.js Please contact the author of the transform if you believe there was an error.
1 parent fc000fa commit bfd6382
Copy full SHA for bfd6382

File tree

Expand file treeCollapse file tree

4 files changed

+1557
-147
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+1557
-147
lines changed

‎.codeclimate.yml

Copy file name to clipboard
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
exclude_patterns:
22
- doc/**
3-
- lib/**
3+
- dist/**
44
- test/**

‎.gitignore

Copy file name to clipboardExpand all lines: .gitignore
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
!yarn.lock
33

44
# Generated files
5-
/lib
5+
/dist
66

77
# Dependency directory
88
node_modules

‎package.json

Copy file name to clipboardExpand all lines: package.json
+17-4Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,25 @@
2323
"shuffle"
2424
],
2525
"sideEffects": false,
26-
"main": "lib/index.js",
26+
"source": "src/index.js",
27+
"main": "dist/index.js",
28+
"module": "dist/index.module.js",
29+
"esmodule": "dist/index.modern.js",
30+
"umd:main": "dist/index.umd.js",
31+
"unpkg": "dist/index.umd.js",
32+
"exports": {
33+
".": {
34+
"browser": "./dist/index.module.js",
35+
"umd": "./dist/index.umd.js",
36+
"require": "./dist/index.js",
37+
"default": "./dist/index.modern.js"
38+
}
39+
},
2740
"files": [
28-
"lib"
41+
"dist"
2942
],
3043
"scripts": {
31-
"build": "babel --delete-dir-on-start --env-name production src -d lib",
44+
"build": "NODE_ENV=production microbundle",
3245
"build-docs": "esdoc",
3346
"build-gh-pages": "npm run build-docs",
3447
"commit-msg": "commitlint --edit",
@@ -54,7 +67,6 @@
5467
"@aureooms/js-memory": "4.0.0",
5568
"@aureooms/js-operator": "1.0.2",
5669
"@aureooms/js-type": "1.0.4",
57-
"@babel/cli": "7.13.10",
5870
"@babel/core": "7.13.10",
5971
"@babel/preset-env": "7.13.10",
6072
"@babel/register": "7.13.8",
@@ -72,6 +84,7 @@
7284
"esdoc-standard-plugin": "1.0.0",
7385
"fixpack": "4.0.0",
7486
"husky": "6.0.0",
87+
"microbundle": "0.13.0",
7588
"np": "7.4.0",
7689
"pinst": "2.1.6",
7790
"power-assert": "1.6.1",

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.