-
Notifications
You must be signed in to change notification settings - Fork 0
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 #4 from juitnow/workspaces
Workspaces Support
- Loading branch information
Showing
12 changed files
with
913 additions
and
634 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
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 |
---|---|---|
@@ -1,28 +1,10 @@ | ||
import { build, find, tasks, bundleLocals, banner } from '@plugjs/build' | ||
import { plugjs, tasks } from '@plugjs/build' | ||
|
||
export default build({ | ||
...tasks({ | ||
'cjs': false, | ||
}), | ||
|
||
async bundle(): Promise<void> { | ||
banner('Bundling output') | ||
|
||
await find('dist/main.mjs') | ||
.esbuild({ | ||
bundle: true, | ||
format: 'esm', | ||
outfile: 'check-updates.js', | ||
platform: 'node', | ||
sourcemap: false, | ||
minify: false, | ||
plugins: [ bundleLocals() ], | ||
}) | ||
}, | ||
export default plugjs({ | ||
...tasks(), | ||
|
||
async all(): Promise<void> { | ||
await this.transpile() | ||
await this.lint() | ||
await this.bundle() | ||
}, | ||
}) |
Oops, something went wrong.