Skip to content

Commit

Permalink
Merge pull request #262 from alibaba/fix-webpack-config-event
Browse files Browse the repository at this point in the history
fix(@dawnjs/dn-middleware-webpack): fix webpack.config event
  • Loading branch information
soulwu authored Jun 8, 2021
2 parents 8203821 + 6199029 commit 8a72d19
Showing 13 changed files with 2,701 additions and 114 deletions.
5 changes: 5 additions & 0 deletions packages/middleware-webpack/examples/basic/.dawn/pipe.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
dev:
- name: i18n
- name: $local
location: ../../lib/index.js
entry: ./src/pages/index.tsx
env: development
babel:
runtimeHelpers: true
corejs: 3

dev:esbuild:
- name: $local
@@ -28,6 +32,7 @@ watch:
watch: true

build:
- name: i18n
- name: $local
location: ../../lib/index.js
entry: ./src/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
hello: Hello {name}!
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
hello: 你好,{name}!
Loading

0 comments on commit 8a72d19

Please sign in to comment.