Code Monkey home page Code Monkey logo

Comments (4)

jlmakes avatar jlmakes commented on June 12, 2024

Well, Rollup moved opts.sourcemap to opts.output.sourcemap in a recent release, but that was gently patched in 5.1.1. Still, it should work without the patch, you'll just get deprecation warnings.

I'm not sure what would cause source maps to stop being generated, but a simple repository demonstrating the issue would help.

Edit: I've just tested [email protected] and [email protected] on a small project, and the source maps are being generated and coming through fine.

It's also worth nothing that both format and name have moved inside of output, so your config without deprecation warnings would look like this:

rollupPreprocessor: {
	plugins: [...listOfPlugins],
	output: {
		sourcemap: 'inline'
		name: 'projectname',
		format: 'iife'
	}
}

If you can put together a fresh repo that reproduces your issue, I'll attack the problem, otherwise I'm not sure what to suggest. Sorry @AlbertoElias!

from karma-rollup-preprocessor.

AlbertoElias avatar AlbertoElias commented on June 12, 2024

Ok, I don't have the code up just yet, but will do in 1-2 weeks. Do you mind if we leave this issue open until then? Thanks a lot for your help!

from karma-rollup-preprocessor.

jlmakes avatar jlmakes commented on June 12, 2024

That is fine, but please make sure the reproduction is a new repo, with only the code necessary to clearly reproduce the issue.

from karma-rollup-preprocessor.

Lalem001 avatar Lalem001 commented on June 12, 2024

I have encountered this issue as well. So here is a repo that reproduces the issue:

https://github.com/Lalem001/karma-rollup-preprocessor-issue

from karma-rollup-preprocessor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.