Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

Example doesn't work using Rollup CLI #156

Closed
@bertday

Description

@bertday

Expected behavior

When I follow the instructions in the example for building via Rollup CLI, I expect it to output a bundle to the dist directory.

Actual behavior

It throws an error:

[!] Error: Cannot find module '../dist/rollup-plugin-vue.common.js'

So, the first thing that's missing is -- the instructions should say you have to cd .. && npm install && npm run build first before running the example.

Then, I got another error:

[!] Error: You must specify options.format, which can be one of 'amd', 'cjs', 'es', 'iife' or 'umd'

There's also a warning:

(!) Some options have been renamed
https://gist.github.com/Rich-Harris/d472c50732dab03efeb37472b08a3f32
--output is now --output.file

So it seems the API has changed since this example was written. Just wanted to give a heads up :)

Steps to reproduce the behavior

Follow the instructions in example/README.md.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions