Created
December 10, 2018 21:07
-
-
Save mjstahl/723e091ffb9a04cc969a5ce0f4f1c1bb to your computer and use it in GitHub Desktop.
Differences in import between developer and built version when using steal-tools to build an app or dev bundle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<body> | |
<script src="./dist/steal.production.js" main></script> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<body> | |
<script src="./node_modules/steal/steal.js" main></script> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var stream = require('stream') | |
console.log(stream) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "test-steal", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"build": "steal-tools", | |
"bundle": "steal-tools bundle --dev --no-minify" | |
}, | |
"author": "", | |
"license": "ISC", | |
"dependencies": { | |
"steal": "^2.1.10" | |
}, | |
"devDependencies": { | |
"steal-tools": "^2.0.11" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment