-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e046686
commit 273a9e3
Showing
15 changed files
with
1,247 additions
and
15,298 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,4 @@ | |
/gruntlocalconf.json | ||
composer.lock | ||
package-lock.json | ||
/_dev/node_modules |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/** | ||
* @typedef {import('@roots/bud').Bud} Bud | ||
* | ||
* @param {Bud} bud | ||
*/ | ||
module.exports = async bud => { | ||
bud.externals({ | ||
jQuery: 'window.jquery', | ||
wp: 'window.wp', | ||
}) | ||
bud.runtime('single') | ||
|
||
await bud | ||
.setPath('@dist', '../assets/admin') | ||
.entry({ | ||
chart: 'chart.js', | ||
bulk: 'bulk.js', | ||
}) | ||
//.when( bud.isProduction, () => bud.splitChunks().minimize() ) | ||
} |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"name": "imagify_dev", | ||
"version": "1.0.0", | ||
"dependencies": { | ||
}, | ||
"devDependencies": { | ||
"@roots/bud": "^6.11.0", | ||
"chart.js": "^4.4.0" | ||
}, | ||
"scripts": { | ||
"dev": "bud dev", | ||
"build": "bud build", | ||
"bud": "bud" | ||
} | ||
} |
Oops, something went wrong.