Skip to content

Commit

Permalink
fix: trying to get the build script to work correclty, without buildi…
Browse files Browse the repository at this point in the history
…ng locally.

locally building and then pushing to github does work, but normally the
package should also be build in the github action
  • Loading branch information
MMoMM-org committed Oct 30, 2022
1 parent f3ca104 commit 43b7f5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esbuild.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const PLUGIN_ID = 'obsidian-dynbedded';
const staticAssetsPlugin = {
name: 'static-assets-plugin',
setup(build) {
if (!dev) {
if (dev) {
build.onLoad({filter: /.+/}, (args) => {
return {
watchFiles: ['styles.css', 'esbuild.config.mjs', 'manifest.json'],
Expand Down

0 comments on commit 43b7f5d

Please sign in to comment.