Skip to content

Instantly share code, notes, and snippets.

@DeMoorJasper
Created May 3, 2018 09:39
Show Gist options
  • Save DeMoorJasper/c012366927f46b8766463c22e9f3b052 to your computer and use it in GitHub Desktop.
Save DeMoorJasper/c012366927f46b8766463c22e9f3b052 to your computer and use it in GitHub Desktop.
Svelte Asset
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