Browse Source

add moduleId option interface

master
Rich Harris 9 years ago
parent
commit
921b0de7ef
  1. 2
      package.json
  2. 7
      src/app/Output/BundleOptions.html

2
package.json

@ -31,6 +31,6 @@
"ractive": "^0.7.3",
"ractive-events-tap": "^0.2.0",
"ractive-transitions-slide": "^0.2.1",
"rollup": "^0.20.2"
"rollup": "^0.20.4"
}
}

7
src/app/Output/BundleOptions.html

@ -15,6 +15,13 @@
</table>
</section>
{{#if options.format === 'amd' || options.format === 'umd'}}
<section intro-outro='slide:fast'>
<h3>options.moduleId</h3>
<input value='{{options.moduleId}}' placeholder='leave blank for anonymous module'>
</section>
{{/if}}
{{#if options.format === 'iife' || options.format === 'umd'}}
{{#if exports.length}}
<section intro-outro='slide:fast'>

Loading…
Cancel
Save