Skip to content

added build mode 'dist' to npm build options#2939

Merged
benjiwheeler merged 1 commit intoscratchfoundation:developfrom
benjiwheeler:build_mode
Aug 23, 2018
Merged

added build mode 'dist' to npm build options#2939
benjiwheeler merged 1 commit intoscratchfoundation:developfrom
benjiwheeler:build_mode

Conversation

@benjiwheeler
Copy link
Contributor

added build mode 'dist' to npm build options, so you can build the dist directory in development by doing

BUILD_MODE=dist npm run build

Reason for Changes

When developing using scratch-www and scratch-gui together, there is currently no build option in scratch-gui that builds the dist directory without fully building all production assets. This option greatly speeds up the development build process in that case.

I don't think this is specifically testable using browsers or the testing suite.

Copy link
Contributor

@rschamp rschamp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @benjiwheeler!

@rschamp rschamp assigned benjiwheeler and unassigned rschamp Aug 21, 2018
@benjiwheeler benjiwheeler merged commit c02a5ad into scratchfoundation:develop Aug 23, 2018
@benjiwheeler benjiwheeler deleted the build_mode branch October 16, 2018 19:15
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.

3 participants