Skip to content

Commit ec9792d

Browse files
committed
Add explicit .js extension for Node16 module resolution
1 parent 4522c18 commit ec9792d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Gruntfile.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ module.exports = function(grunt) {
114114
// build tom-select.custom.js
115115
var plugin_arg = grunt.option('plugins');
116116
var custom_file = path.resolve( process.cwd(),'./src/tom-select.custom.ts');
117-
var custom_content = ['/* this file is generated by grunt when calling `npm run build -- --plugins=<plugins> */','import TomSelect from "./tom-select";'];
117+
var custom_content = ['/* this file is generated by grunt when calling `npm run build -- --plugins=<plugins> */','import TomSelect from "./tom-select.js";'];
118118

119119
if( fs.existsSync(custom_file) ){
120120
fs.unlink(custom_file,err => {

0 commit comments

Comments
 (0)