Skip to content

Commit 48c17f6

Browse files
author
Ścibor Rudnicki
authored
fix: remove decomment package
It is not working as expected. Fixes: #41
1 parent 1a259a5 commit 48c17f6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import fs from 'fs';
22
import path from 'path';
3-
import decomment from 'decomment';
43

54
import MagicString from 'magic-string';
65
import { createFilter } from 'rollup-pluginutils';
@@ -37,7 +36,7 @@ export default function angular(options = {}) {
3736
transform(source, map) {
3837
if (!filter(map)) return;
3938

40-
const magicString = new MagicString(decomment(source));
39+
const magicString = new MagicString(source);
4140
const dir = path.parse(map).dir;
4241

4342
let hasReplacements = false;

0 commit comments

Comments
 (0)