Skip to content

Commit

Permalink
ESM switch for gulpfile.js
Browse files Browse the repository at this point in the history
- type:module
- will allow to update some devdeps to ESM (nw-builder, standard)
- part of #180
  • Loading branch information
vankasteelj committed Apr 29, 2023
1 parent 9f739ae commit 2b995a8
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
/** *************
* dependencies *
***************/
import Module from "node:module"
const require = Module.createRequire(import.meta.url)

const gulp = require('gulp')
const glp = require('gulp-load-plugins')()
const del = require('del')
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"256": "app/images/frak-logo.png"
},
"chromium-args": "--disable-raf-throttling --future --in-process-gpu --use-angle=gl",
"type": "module",
"node-remote": "*://*",
"repository": {
"type": "git",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 2b995a8

Please sign in to comment.