@vixoniccom/module-packager 2.13.0-test.3 → 2.13.0-test.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/webpack.config.js +0 -3
- package/package.json +1 -1
package/dist/webpack.config.js
CHANGED
|
@@ -19,7 +19,6 @@ export default (env = {}, argv = {}) => {
|
|
|
19
19
|
const controllerStaticPath = path.resolve(path.dirname(controllerHtmlPath), '../static');
|
|
20
20
|
const controllerFontsPath = path.resolve(path.dirname(controllerHtmlPath), '../fonts');
|
|
21
21
|
const controllerTestPath = path.resolve(options.src, 'test');
|
|
22
|
-
console.log('token', process.env.AQI_TOKEN);
|
|
23
22
|
return {
|
|
24
23
|
mode: isDev ? 'development' : 'production',
|
|
25
24
|
target: options.target ?? 'electron-renderer',
|
|
@@ -101,8 +100,6 @@ export default (env = {}, argv = {}) => {
|
|
|
101
100
|
plugins: [
|
|
102
101
|
new webpack.DefinePlugin({
|
|
103
102
|
global: 'globalThis',
|
|
104
|
-
// env variables
|
|
105
|
-
'process.env.AQI_TOKEN': JSON.stringify(process.env.AQI_TOKEN || ''),
|
|
106
103
|
}),
|
|
107
104
|
new webpack.ProvidePlugin({
|
|
108
105
|
process: 'process/browser.js',
|