Last active
December 19, 2016 08:54
-
-
Save Munter/a1e9e541dd76d48c0e0da74a413fcf9d to your computer and use it in GitHub Desktop.
This file contains hidden or 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 Assetgraph = require('assetgraph'); | |
new Assetgraph({ | |
root: 'myProject' | |
}) | |
.logEvents() | |
.lodAssets('index.html') | |
.populate({ | |
followRelations: { crossorigin: false } | |
}) | |
.inlineRelations({ to: { type: Assetgraph.query.not('Html'), isLoaded: true }}) | |
.writeAssetsToStdout({ | |
type: 'Html', | |
isInitial: true | |
}) | |
.run() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment