Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

output: true broken #42

Closed
QuentinRoy opened this issue Feb 20, 2018 · 0 comments · Fixed by #43
Closed

output: true broken #42

QuentinRoy opened this issue Feb 20, 2018 · 0 comments · Fixed by #43

Comments

@QuentinRoy
Copy link

QuentinRoy commented Feb 20, 2018

It seems that output: true is broken. While it used to "write all styles to the bundle destination where .js is replaced by .css", it now writes them to the input destination (which is usually not what is wanted).

For example:

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

export default {
  input: 'src/index.js',
  output: {
    name: 'Project',
    sourcemap: true,
    file: './project.js',
    format: 'umd'
  },
  plugins: [
    resolve(),
    sass({
      output: true
    })
  ]
};

Produces src/index.css.

QuentinRoy added a commit to QuentinRoy/Marking-Menu that referenced this issue Feb 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant