-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #281 from alibaba/feat-rollup
Update rollup middleware to support string import and series mode
- Loading branch information
Showing
43 changed files
with
3,709 additions
and
924 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
!package-lock.json | ||
build | ||
lib | ||
es | ||
dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
last 2 versions | ||
IE 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
dev: | ||
- name: '@dawnjs/dn-middleware-lint' | ||
noEmit: true | ||
- name: '@dawnjs/dn-middleware-clean' | ||
target: | ||
- dist | ||
- lib | ||
- es | ||
- name: $local | ||
location: ../../lib/index.js | ||
watch: true | ||
entry: ./src/index.tsx | ||
lint: true | ||
esm: false | ||
cjs: false | ||
|
||
test: | ||
- name: '@dawnjs/dn-middleware-lint' | ||
|
||
build: | ||
- name: '@dawnjs/dn-middleware-clean' | ||
target: | ||
- dist | ||
- lib | ||
- es | ||
- name: $local | ||
location: ../../lib/index.js | ||
entry: ./src/index.tsx | ||
# esm: false | ||
# cjs: false | ||
# umd: | ||
# minFile: false | ||
# parallel: true | ||
analysis: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
registry: https://registry.npmmirror.com/ | ||
server: https://alibaba.github.io/dawn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
node_modules | ||
dist | ||
es | ||
lib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Do not modify "extends" & "rules". | ||
|
||
extends: '@dawnjs/eslint-config-dawn/typescript-react' | ||
parserOptions: | ||
project: ./tsconfig.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/** !!DO NOT MODIFY THIS FILE!! */ | ||
module.exports = require('@dawnjs/eslint-config-dawn/prettierrc'); |
10 changes: 10 additions & 0 deletions
10
packages/middleware-rollup/examples/basic/declaration.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
declare module "*.module.css"; | ||
declare module "*.module.less"; | ||
declare module "*.module.scss"; | ||
declare module "*.txt"; | ||
declare module "*.yml"; | ||
declare module "*.png"; | ||
declare module "*.jpg"; | ||
declare module "*.jpeg"; | ||
declare module "*.gif"; | ||
declare module "*.svg"; |
Oops, something went wrong.