origami-cms / cms

Open source, flexible, and easy to use CMS for Node.js
http://www.origami.so
50 stars 2 forks source link

problem in Guide #6

Open cosmiminaut opened 5 years ago

cosmiminaut commented 5 years ago

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

tristanMatthias commented 5 years ago

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!