Skip to content

Commit

Permalink
chore: lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
haakonflatval-cognite committed Jul 7, 2022
1 parent 0b2c2aa commit 60a80e3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions viewer/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ if (parserWorkerVersion.split('.').some(i => isNaN(parseInt(i, 10)))) {
const defaultExportFunction = (env, entries, additionalAllow = undefined) => {
const development = getEnvArg(env, 'development', false);
const publicPathViewer =
publicPath || getWorkerCdnUrl({ name: workerPackageJSON.name, version: workerPackageJSON.version });
publicPath || getWorkerCdnUrl({ name: workerPackageJSON.name, version: workerPackageJSON.version });

const entryFileNames = entries.map(name => './' + name + '.ts');
const entryObject = {};
Expand Down Expand Up @@ -146,8 +146,7 @@ const defaultExportFunction = (env, entries, additionalAllow = undefined) => {
};
};

const peripheralEntries = ['tools',
'extensions/datasource'];
const peripheralEntries = ['tools', 'extensions/datasource'];

module.exports = [
env => {
Expand All @@ -159,4 +158,5 @@ module.exports = [
peripheralEntries.push('internals');
}
return defaultExportFunction(env, peripheralEntries);
}];
}
];

0 comments on commit 60a80e3

Please sign in to comment.