Gunnlaugur Þór Briem
c5298f10a2
fix: declare ES module in package.json
...
In bundler mode, generate the package.json with "type": "module" and use the
"main" attribute instead of the "module" attribute.
This change makes the built ES module palatable to node in
--experimental-wasm-modules mode as well as to webpack as illustrated in
https://github.com/webpack/webpack/pull/14313
4 years ago
Jubilee Young
69c5624b17
fix: remove needless clones, borrows
4 years ago
Jubilee Young
8aaef72af0
fix: mem::take TODO
4 years ago
Jubilee Young
e5e5b1eba1
fix: typos in comments
4 years ago
Frederic Kettelhoit
dafc83d49d
Only parse first build argument as path if it does not start with hyphens
4 years ago
Frederic Kettelhoit
ca1f6d838c
Use same syntax for extra arguments as wasm-pack test
4 years ago
Jesper Håkansson
8d1ea111ea
0.10.0
4 years ago
Jesper Håkansson
b183a4c0cf
fix: Use v0.24.0 of geckodriver
4 years ago
Azriel Hoh
7a7abf934e
Parse path and extra options together, then split them after.
...
This allows `wasm-pack` to have the same command line interface as
`cargo` to pass through options such as `--no-default-features`.
4 years ago
Azriel Hoh
f4f6588595
Document why we use `AppSettings`.
4 years ago
Azriel Hoh
b75773a2fe
Use `--manifest-path` for `Cargo.toml`, and modify `AppSettings`.
...
This allows the extra arguments to be forwarded through to `cargo`
without requiring `--` beforehand.
4 years ago
Azriel Hoh
d1cd431a51
Don't pass through test filter to `cargo build`.
4 years ago
Azriel Hoh
23452046ec
Passes `extra_options` to `cargo build --tests` when running `wasm-pack test`.
...
Issue #698
4 years ago
Brady Joslin
d80aeaf901
fix prebuilt binary install
5 years ago
Brady Joslin
dbf45dfbd1
fix-cargo-generate-installation
5 years ago
Brennon Loveless
fee0938c34
Feel better to explictly declare the arms instead of using a match all
5 years ago
Brennon Loveless
f66d321ba9
First look in the local path for the wasm-opt binary. Use whatever binary is found and assume it works
5 years ago
brightly-salty
662821aaac
Revert "Update all dependencies"
...
This reverts commit 87b9a7de21
.
5 years ago
brightly-salty
87b9a7de21
Update all dependencies
...
I ran `cargo upgrade` (cargo-edit crate) to update all dependencies
5 years ago
lucashorward
06ba9802e9
Made changes according to comment
6 years ago
lucashorward
5039905fe4
Improved setup
6 years ago
lucashorward
bad4282fc5
Working but may need changes
6 years ago
lucashorward
f444b64e1e
Added keywords
6 years ago
0xd4d
6c0c144435
Find the main package if multiple packages have the same name
6 years ago
Thomas Graviou
0535422605
Fix logs for uniformity
6 years ago
Ashley Williams
f0f058098d
feat(install): wasm-opt binaries add new conditional target logic
6 years ago
Ashley Williams
649bfabd26
feat(wasm-opt): bump to version_90
6 years ago
Ashley Williams
5218be592c
refactor(tool): wasm-opt is a tool variant
6 years ago
Avery Harnish
9bf729f96c
🌥️ 0.9.0
6 years ago
Ashley Williams
00d08e74f5
fix(test): only use exactly v0.24.0 geckodriver on windows
6 years ago
Avery Harnish
e8f27f2ba3
Adds error message and docs for failed wasm-opt
6 years ago
Avery Harnish
d1dc19f880
Fix clippy warnings and add to CI
6 years ago
Jesper Håkansson
62cfd9adbb
fix: Rate limit version check if the request fails
...
fix: Output warning if version check fails
6 years ago
Martin Kavík
a39a278220
fix(command_test): stamps.rs check driver once per day, update RELEASE_CHECKLIST
6 years ago
Martin Kavík
2facd17653
fix(command_test): select correct webdriver version
6 years ago
Pauan
bf04deee35
Adding in -q flag
6 years ago
Pauan
fc57f09688
Adding in log-level flag; also changing quiet to silence all stdout
6 years ago
Pauan
a522ed6c42
Running cargo fmt
6 years ago
Pauan
a8f4ddbe05
Adding in --quiet flag to suppress warnings
6 years ago
Ashley Williams
f37d46a79e
fix(license): don't warn if license-file is present
6 years ago
Mario Reder
090d90bb76
feat(publish): dist tag option
6 years ago
Ashley Williams
a93f2713d8
fix(style): appease cargo fmt
6 years ago
Ashley Williams
229de51270
feat(build_target): impl display
6 years ago
Ashley Williams
f9ec18d783
feat(bindgen): update to --target flag interface
6 years ago
rhysd
5a58e8e683
Fix sideEffects value in generated package.json should be empty
6 years ago
Ashley Williams
032c9f4cbd
feat(bindgen): check wasm-bindgen cli version when running target web
6 years ago
Ashley Williams
22a63ea86f
feat(install): break out get cli version function
6 years ago
Ashley Williams
c293720fe1
feat(bindgen): use version check function from install
6 years ago
Ashley Williams
4e255675f0
fix(clippy): remove unnecessary return
6 years ago
Ashley Williams
af03d1d3e2
fix(bindgen): remove unused import
6 years ago