-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- The primary Webpack config at the project root had some unused code that was supposed to be used for building the browser example page. However, the browser example page uses its own Webpack config file, and the primary config is used only for bundling the library itself. Thus, we can remove this unused code and simplify the primary config. - Use the `output.clean` option to make Webpack clease the `dist/` directory when building the library. This allows us to avoid running `npx rimraf dist/` as part of `npm run build`. - Don't run `npm run build` as part of `npm run build:browser`. Since the browser example directly imports TypeScript code under `src/`, we don't need to bundle the library separately.
- Loading branch information
1 parent
a6f0441
commit cc84744
Showing
2 changed files
with
25 additions
and
48 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