Skip to content

Phil/Background component bundle#235

Open
philcable wants to merge 4 commits into
developfrom
phil/bg-component-bundle
Open

Phil/Background component bundle#235
philcable wants to merge 4 commits into
developfrom
phil/bg-component-bundle

Conversation

@philcable

@philcable philcable commented Oct 10, 2019

Copy link
Copy Markdown
Contributor

This doesn't quite get there, but could be the start of a potential way forward for removing the reliance on npm link when building releases for BU Prepress.

It adds a browserify task to Grunt for building a bundled version of the background component to dist/components/. This version of the file is the one used when the background component is imported into blocks in BU Prepress.

It also adds grunt browserify as part of the npm run build script. (Integrating it as part of npm start could be explored to smooth things out further if this seems like a viable approach.)

Companion https://github.com/bu-ist/bu-prepress/pull/506.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant