From ff0afdd7598e43013974b3bbf9a26978b8b06e98 Mon Sep 17 00:00:00 2001 From: Rongjian Zhang Date: Tue, 30 Oct 2018 15:40:33 +0800 Subject: [PATCH] fix import syntax for ES compatible --- .../string-replace-webpack-plugin-tests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/string-replace-webpack-plugin/string-replace-webpack-plugin-tests.ts b/types/string-replace-webpack-plugin/string-replace-webpack-plugin-tests.ts index d7199da7bd..b4b0d5304a 100644 --- a/types/string-replace-webpack-plugin/string-replace-webpack-plugin-tests.ts +++ b/types/string-replace-webpack-plugin/string-replace-webpack-plugin-tests.ts @@ -1,4 +1,4 @@ -import * as StringReplacePlugin from 'string-replace-webpack-plugin'; +import StringReplacePlugin = require('string-replace-webpack-plugin'); StringReplacePlugin.replace('babel-loader', { replacements: [