cms icon indicating copy to clipboard operation
cms copied to clipboard

problem in Guide

Open cosmiminaut opened this issue 6 years ago • 1 comments

there was an error with rollup in the guide.

import resolve from 'rollup-plugin-node-resolve'; import commonjs from 'rollup-plugin-commonjs';

export default { entry: 'src/todo-app.js', dest: 'public/todo-app.min.js', format: 'iife',

plugins: [resolve(), commonjs()]

};

an error occurs "Error: You must supply options.input to rollup" helped change:

import resolve from 'rollup-plugin-node-resolve'; import commonjs from 'rollup-plugin-commonjs';

export default { input: 'src/todo-app.js', output: { file: 'public/todo-app.min.js', format: 'iife' }, plugins: [resolve(), commonjs()] };

get familiar with the guide) p.s. sorry for my English, I don't know it well

cosmiminaut avatar Jun 26 '19 16:06 cosmiminaut

Hey @cosmiminaut! Thanks for checking out the project and finding this.

Out of curiosity, how'd you find out about Origami? I didn't get much interest from it so haven't worked on it in a while, but if you're interested I can help where I can!

PS. Your english is great!

tristanMatthias avatar Jun 28 '19 20:06 tristanMatthias