Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rollup-plugin-svelte

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rollup-plugin-svelte - npm Package Compare versions

Comparing version 4.2.1 to 4.3.0

4

CHANGELOG.md
# rollup-plugin-svelte changelog
## 4.3.0
* Append inline sourcemaps to virtual CSS files generated with `emitCss: true` ([#36](https://github.com/rollup/rollup-plugin-svelte/pull/36))
## 4.2.1

@@ -4,0 +8,0 @@

@@ -213,7 +213,11 @@ 'use strict';

let fname = id.replace('.html', '.css');
cssLookup.set(fname, compiled.css);
if (options.emitCss) {
const source_map_comment = `/*# sourceMappingURL=${compiled.css.map.toUrl()} */`;
compiled.css.code += `\n${source_map_comment}`;
compiled.js.code += `\nimport '${fname}';\n`;
}
cssLookup.set(fname, compiled.css);
}

@@ -220,0 +224,0 @@

@@ -209,7 +209,11 @@ import fs from 'fs';

let fname = id.replace('.html', '.css');
cssLookup.set(fname, compiled.css);
if (options.emitCss) {
const source_map_comment = `/*# sourceMappingURL=${compiled.css.map.toUrl()} */`;
compiled.css.code += `\n${source_map_comment}`;
compiled.js.code += `\nimport '${fname}';\n`;
}
cssLookup.set(fname, compiled.css);
}

@@ -216,0 +220,0 @@

2

package.json
{
"name": "rollup-plugin-svelte",
"version": "4.2.1",
"version": "4.3.0",
"description": "Compile Svelte components with Rollup",

@@ -5,0 +5,0 @@ "main": "dist/rollup-plugin-svelte.cjs.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc