Skip to content

Single-File-Module Support

Choose a tag to compare

@alexindigo alexindigo released this 23 Aug 03:42
· 9 commits to master since this release
  • Fixed single file module resolution.

If you have file like env.js in your base folder, then define/require like following

define(['env'], function(env) {});

and

define(['env!env/file'], function(file) {});

will be properly resolved.

  • Added pre-commit hook and linting via eslint.