rollup-plugin-string
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -17,3 +17,6 @@ 'use strict'; | ||
if (filter(id)) { | ||
return ("export default " + (JSON.stringify(code)) + ";"); | ||
return { | ||
code: ("export default " + (JSON.stringify(code)) + ";"), | ||
map: { mappings: '' } | ||
}; | ||
} | ||
@@ -20,0 +23,0 @@ } |
{ | ||
"name": "rollup-plugin-string", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Converts text files to modules", | ||
@@ -5,0 +5,0 @@ "main": "dist/rollup-plugin-string.js", |
@@ -1,2 +0,2 @@ | ||
# rollup-plugin-string | ||
# rollup-plugin-string [![Build Status](https://travis-ci.org/TrySound/rollup-plugin-string.svg)](https://travis-ci.org/TrySound/rollup-plugin-string) | ||
@@ -3,0 +3,0 @@ Converts text files to modules: |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4039
37