Skip to content

Commit

Permalink
fix(ilc/client): remove source map url
Browse files Browse the repository at this point in the history
  • Loading branch information
stas-nc committed Apr 24, 2024
1 parent 6673b4f commit cf2ab4d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,8 @@ jobs:
cache: 'npm'
cache-dependency-path: '**/package-lock.json'

- name: Install Chrome deps
run: sudo apt-get update && sudo apt-get install -y libgbm-dev
# - name: Install Chrome deps
# run: sudo apt-get update && sudo apt-get install -y libgbm-dev

- name: Install dependencies
run: npm install
Expand Down
6 changes: 1 addition & 5 deletions ilc/build/webpack.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-env node */
const fs = require('fs');
const path = require('path');
const { DefinePlugin, SourceMapDevToolPlugin } = require('webpack');
const { DefinePlugin } = require('webpack');
const WrapperPlugin = require('wrapper-webpack-plugin');
const { DuplicateIlcPluginsWebpackPlugin, ResolveIlcDefaultPluginsWebpackPlugin } = require('ilc-plugins-sdk/webpack');

Expand Down Expand Up @@ -55,10 +55,6 @@ module.exports = {
new DefinePlugin({
LEGACY_PLUGINS_DISCOVERY_ENABLED: JSON.stringify(environment.isLegacyPluginsDiscoveryEnabled()),
}),
new SourceMapDevToolPlugin({
append: '\n//# sourceMappingURL=http://localhost:8233/_ilc/[url]',
filename: '[file].map[query]',
}),
],
devtool: 'hidden-source-map',
externals: [],
Expand Down

0 comments on commit cf2ab4d

Please sign in to comment.