Skip to content

Commit

Permalink
fix: fixed cjs requires
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardojrmcom committed Dec 9, 2021
1 parent 7a76c67 commit 9feb422
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"padded-blocks": "off",
"no-empty": "warn",
"@typescript-eslint/no-unused-vars": "warn",
"@typescript-eslint/no-empty-function": "warn"
"@typescript-eslint/no-empty-function": "warn",
"@typescript-eslint/no-var-requires": 0
}
}
10 changes: 5 additions & 5 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import gulp from 'gulp';
import sourcemaps from 'gulp-sourcemaps';
import terser from 'gulp-terser';
import concat from 'gulp-concat';
const gulp = require('gulp');
const sourcemaps = require('gulp-sourcemaps');
const terser = require('gulp-terser');
const concat = require('gulp-concat');

const { src, dest, series } = gulp;

Expand All @@ -17,4 +17,4 @@ const bundleJS = () =>
.pipe(sourcemaps.write('./'))
.pipe(dest('dist'));

export default series(bundleJS);
module.exports.default = series(bundleJS);
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"version": "0.0.1-development",
"main": "dist/index.min.js",
"types": "dist/index.d.ts",
"type": "module",
"private": false,
"repository": {
"type": "git",
Expand Down

0 comments on commit 9feb422

Please sign in to comment.