Created
May 3, 2018 09:39
-
-
Save DeMoorJasper/c012366927f46b8766463c22e9f3b052 to your computer and use it in GitHub Desktop.
Svelte Asset
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
const { Asset } = require('parcel-bundler'); | |
class SvelteAsset extends Asset { | |
constructor(name, pkg, options) { | |
super(name, pkg, options); | |
this.type = 'js'; | |
} | |
async parse(inputCode) { | |
return {}; | |
} | |
async generate() { | |
return []; | |
} | |
} | |
module.exports = SvelteAsset; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment