Skip to content

Commit

Permalink
chore: build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Javey committed Nov 3, 2021
1 parent 7667df1 commit 57cf53a
Show file tree
Hide file tree
Showing 173 changed files with 707 additions and 5,203 deletions.
9 changes: 6 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,27 +21,30 @@ packages/kpc-vue/components
packages/kpc-vue/i18n
packages/kpc-vue/styles
packages/kpc-vue/index.js
packages/kpc-vue/inheritsLoose.js
packages/kpc-vue/hooks

packages/kpc-vue-next/components
packages/kpc-vue-next/i18n
packages/kpc-vue-next/styles
packages/kpc-vue-next/index.js
packages/kpc-vue-next/inheritsLoose.js
packages/kpc-vue-next/hooks

packages/kpc-react/components
packages/kpc-react/i18n
packages/kpc-react/styles
packages/kpc-react/index.js
packages/kpc-react/inheritsLoose.js
packages/kpc-react/hooks

packages/kpc-angular/@css
packages/kpc-angular/@stylus
packages/kpc-angular/kpc
packages/kpc-angular/node_modules
packages/kpc-angular/index.ts
packages/kpc-angular/components
packages/kpc-angular/hooks

~*

.DS_Store

es/
26 changes: 14 additions & 12 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,28 @@ module.exports = function(api) {

const config = {
"presets": [
["@babel/preset-typescript", {
// "@babel/preset-typescript",
["@babel/preset-env", {
// set browserslist in package.json
// targets: {
// // browsers: 'last 2 versions'
// esmodules: true,
// browsers: 'last 2 versions'
// },
// "loose": true,
"loose": true,
// "useBuiltIns": "usage",
// "corejs": '3.6',
// "modules": process.env.BUILD ? false : "cjs",
// "modules": "cjs",
// "corejs": corejs,
// // "modules": process.env.BUILD ? false : "cjs",
// // "modules": "cjs",
"modules": false,
// "debug": true
}],
"@babel/preset-typescript",
// "@babel/preset-react"
],
"plugins": [
// ["@babel/plugin-transform-runtime", {
// // "corejs": false,
// "corejs": corejs,
// // "useESModules": true
// }],
["@babel/plugin-transform-runtime", {
"corejs": corejs,
// "useESModules": true
}],
["@babel/plugin-proposal-decorators", {"legacy": true}],
// "@babel/plugin-syntax-dynamic-import",
"@babel/plugin-proposal-do-expressions",
Expand Down
59 changes: 0 additions & 59 deletions build/gulp/frameworks.js

This file was deleted.

21 changes: 0 additions & 21 deletions build/gulp/index.js

This file was deleted.

106 changes: 0 additions & 106 deletions build/gulp/packages.js

This file was deleted.

2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
require('./build/gulp');
require('./scripts/gulp');
69 changes: 0 additions & 69 deletions old-demos/button/index.js

This file was deleted.

5 changes: 0 additions & 5 deletions old-demos/button/index.styl

This file was deleted.

Loading

0 comments on commit 57cf53a

Please sign in to comment.