Skip to content
This repository has been archived by the owner on Jun 3, 2020. It is now read-only.

0.3.1

Compare
Choose a tag to compare
@jriecken jriecken released this 02 Jul 22:35
· 6 commits to master since this release

Changes

Enhanced AMD support

  • Make AMD support opt-in - must specify 'amd: true', or 'amd: {....}' in asset-smasher config
  • Allow a 'baseLogicalPath' option to be in the amd option object that will be stripped off the front of all module ids (useful for shortening module names if for example, they are all inside a 'js' folder in their logical path
  • Give anonymous/simple commonjs wrapped define calls module ids (and dependency arrays for simple commonjs wrapper)