Browse Source

Add failing test

gh-384
Oskar Segersvärd 9 years ago
parent
commit
ed6a339c16
  1. 18
      test/function/handles-stringified-sourcemaps/_config.js
  2. 1
      test/function/handles-stringified-sourcemaps/main.js

18
test/function/handles-stringified-sourcemaps/_config.js

@ -0,0 +1,18 @@
module.exports = {
options: {
plugins: [
{
transform: function ( code ) {
return {
code: code,
map: JSON.stringify({ mappings: '' })
};
}
}
]
},
bundleOptions: {
sourceMap: true
}
};

1
test/function/handles-stringified-sourcemaps/main.js

@ -0,0 +1 @@
export default 42;
Loading…
Cancel
Save