A Rollup plugin to strip requirejs build pragmas from your code.
Installation
npm install rollup-plugin-strip-pragma --save-dev
Usage
Given source code with a requirejs build pragma, such as:
Cartesian3 { //>>includeStart('debug', pragmas.debug); ChecktypeOfobject'spherical' spherical; //>>includeEnd('debug'); ...}
The following rollup usage will produce code with pragmas stripped.
const rollup = ;const rollupStripPragma = ;const bundle = await rollup;