Skip to content

Commit

Permalink
Allow users to specify a module for inline scripts (#6223)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffrafter authored and loganfsmyth committed Sep 7, 2018
1 parent 7accee9 commit 1b03906
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/babel-standalone/src/transformScriptTags.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ function loadScripts(transformFn, scripts) {
...scriptData,
content: script.innerHTML,
loaded: true,
url: null,
url: script.getAttribute("data-module") || null,
};
}
});
Expand Down

0 comments on commit 1b03906

Please sign in to comment.