mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-13 01:07:18 +00:00
Allow TS in modules
This commit is contained in:
@@ -141,7 +141,8 @@ module.exports = function (_, env) {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
test: /\.tsx?$/,
|
test: /\.tsx?$/,
|
||||||
loader: 'ts-loader'
|
loader: 'ts-loader',
|
||||||
|
options: { allowTsInNodeModules: true }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
// All the codec files define a global with the same name as their file name. `exports-loader` attaches those to `module.exports`.
|
// All the codec files define a global with the same name as their file name. `exports-loader` attaches those to `module.exports`.
|
||||||
|
|||||||
Reference in New Issue
Block a user