...
 
Commits (2)
node-sourcemap-codec (1.4.5-2) UNRELEASED; urgency=medium
* Generate ES module with rollup (Closes: #932962)
-- Pirate Praveen <praveen@debian.org> Fri, 26 Jul 2019 15:37:12 +0200
node-sourcemap-codec (1.4.5-1) unstable; urgency=medium
* New upstream release.
......
......@@ -3,7 +3,12 @@ Section: javascript
Priority: optional
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Uploaders: Julien Puydt <jpuydt@debian.org>
Build-Depends: debhelper (>= 11), nodejs, node-typescript, node-vlq
Build-Depends: debhelper (>= 11)
, nodejs
, node-typescript
, node-vlq
, rollup
, node-rollup-plugin-node-resolve
Standards-Version: 4.4.0
Homepage: https://github.com/Rich-Harris/sourcemap-codec
Vcs-Git: https://salsa.debian.org/js-team/node-sourcemap-codec.git
......
package.json usr/lib/nodejs/sourcemap-codec/
index.js usr/lib/nodejs/sourcemap-codec/
dist usr/lib/nodejs/sourcemap-codec/
skip-rollup-plugin-typescript.patch
--- a/rollup.config.js
+++ b/rollup.config.js
@@ -1,15 +1,10 @@
-import typescript from 'rollup-plugin-typescript';
import resolve from 'rollup-plugin-node-resolve';
const pkg = require( './package.json' );
export default {
- input: 'src/sourcemap-codec.ts',
+ input: 'src/sourcemap-codec.js',
plugins: [
- typescript({
- exclude: 'node_modules/**',
- typescript: require('typescript')
- }),
resolve({ jsnext: true })
],
output: [{
......@@ -5,7 +5,7 @@
override_dh_auto_build:
tsc src/sourcemap-codec.ts --baseUrl /usr/lib/nodejs/vlq/
mv src/sourcemap-codec.js index.js
rollup -c
override_dh_auto_clean:
rm -f index.js
rm -rf src/sourcemap-codec.js dist