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

NPM version doesn't work with RequireJS #6

Open
nazar-pc opened this issue Nov 22, 2016 · 0 comments
Open

NPM version doesn't work with RequireJS #6

nazar-pc opened this issue Nov 22, 2016 · 0 comments

Comments

@nazar-pc
Copy link

Build published to NPM contains following lines:

define('scribe-plugin-inline-styles-to-elements',[
  './inline-styles-formatter',
  './as-html-formatter'
], function (

While it should be:

define('scribe-plugin-inline-styles-to-elements',[
  'inline-styles-formatter',
  'as-html-formatter'
], function (

Otherwise RequireJS doesn't use modules defined in the same file, but tries to load files from the same directory.

Can't create PR since I can't get Plumber working with modern version of Node.js.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant