I am new to JavaScript for the most part and looking to convert this line into an import statement.
var sass = require('gulp-sass')(require('sass'));
I've already converted the other requires into imports but couldn't find an example of this syntax.
I am new to JavaScript for the most part and looking to convert this line into an import statement.
var sass = require('gulp-sass')(require('sass'));
I've already converted the other requires into imports but couldn't find an example of this syntax.
Copyright © 2021 Jogjafile Inc.
it's just a nested require
should convert to something like