Skip to content
This repository was archived by the owner on Nov 30, 2019. It is now read-only.

Commit 55b4da4

Browse files
committed
fix(pluginmanager): removed webpack specific stuff
We are going to use the TypeScript compiler for the server
1 parent dd3dff8 commit 55b4da4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/plugin/PluginManager.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ import { InitializationSide } from './InitializationSide';
1313
import { IPlugin } from './IPlugin';
1414
import { IPluginDescriptorFile } from './IPluginDescriptorFile';
1515

16-
declare var __non_webpack_require__: any;
17-
1816
/**
1917
* The plugin manager manages plugins
2018
* The standard implementation is to load plugins
@@ -179,7 +177,7 @@ export class PluginManager {
179177

180178
try {
181179
// Requires the file which is defined in the "main" key
182-
plugin = __non_webpack_require__(
180+
plugin = require(
183181
resolve(
184182
directory,
185183
pluginDirectory,

0 commit comments

Comments
 (0)