Skip to content

Commit

Permalink
Fix code to comply with ESDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
homer0 committed Apr 4, 2018
1 parent ca26c30 commit 86cfae7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/index.js
Expand Up @@ -16,7 +16,7 @@ const {
webpackMiddlewares,
} = require('./services/server');

const { name: pluginName } = require('../package.json');
const { name } = require('../package.json');
/**
* This is the method called by projext when loading the plugin and it takes care of registering
* the Webpack build engine service and all the other services the engine depends on.
Expand All @@ -30,8 +30,8 @@ const loadPlugin = (app) => {
* the plugin and all its dependencies.
*/
app.set('webpackDefaultExternals', () => [
`${pluginName}/express`,
`${pluginName}/jimpex`,
`${name}/express`,
`${name}/jimpex`,
]);
// Register the main services of the build engine.
app.register(webpackConfiguration);
Expand Down

0 comments on commit 86cfae7

Please sign in to comment.