mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-17 16:50:22 +00:00
Fix Webpack CI (#5604)
This commit is contained in:
parent
7586ab4b15
commit
2903b35902
1 changed files with 20 additions and 4 deletions
24
.github/workflows/bundlers.yml
vendored
24
.github/workflows/bundlers.yml
vendored
|
|
@ -136,10 +136,26 @@ jobs:
|
|||
run: npm i --save-dev webpack-cli webpack@${{matrix.bundler-version}}
|
||||
- run: npx webpack --version
|
||||
- name: Create Webpack config file
|
||||
run:
|
||||
echo 'export default
|
||||
{mode:"production",target:"web",entry:"./lib/index.js"}' >
|
||||
webpack.config.js
|
||||
run: |
|
||||
echo 'export default {
|
||||
mode: "production",
|
||||
target: "web",
|
||||
entry: "./lib/index.js",
|
||||
resolve: {
|
||||
fallback: {
|
||||
fs: false,
|
||||
path: false,
|
||||
stream: false,
|
||||
util: false,
|
||||
assert: false,
|
||||
constants: false,
|
||||
crypto: false,
|
||||
http: false,
|
||||
https: false,
|
||||
url: false
|
||||
}
|
||||
}
|
||||
}' > webpack.config.js
|
||||
- name: Bundle
|
||||
run: npx webpack
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue