This is a project template for Svelte apps. It lives at https://github.com/sveltejs/template.
App.svelte
, code block strip:
unittest: {
name = 'Strip doesn\'t work'
}
rollup.conf.js
:
import strip from '@rollup/plugin-strip';
...
strip({
labels: ['unittest']
}),
npm install
npm run dev
Visit http://localhost:5000
You see this one, if strip plugin doesn't work: HELLO STRIP DOESN'T WORK!
Expected behaviour:
You see this one: HELLO WORLD!