at-builder 1.0.8 → 1.0.9
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/package.json +1 -1
- package/webpack.config.js +2 -21
package/package.json
CHANGED
package/webpack.config.js
CHANGED
|
@@ -107,7 +107,7 @@ files.forEach((file) => {
|
|
|
107
107
|
}
|
|
108
108
|
var newPath = `${distFolderPath}/build`;
|
|
109
109
|
// Replace path with absolute path before making a key of the entries object
|
|
110
|
-
entries[newPath.replace(
|
|
110
|
+
entries[newPath.replace(executionPath, "")] = file;
|
|
111
111
|
});
|
|
112
112
|
|
|
113
113
|
console.log("++++ENTRIES++++", entries);
|
|
@@ -120,25 +120,6 @@ const plugins = [
|
|
|
120
120
|
outputReport: true,
|
|
121
121
|
fix: true
|
|
122
122
|
})
|
|
123
|
-
// new WrapperPlugin({
|
|
124
|
-
// test: /\.js$/,
|
|
125
|
-
// header: function (_, args) {
|
|
126
|
-
// //Handle target issue for reloading the styles.
|
|
127
|
-
// let _uniqueTestId = `ddoTest_${args.hash}`;
|
|
128
|
-
// args._uniqueTestId = _uniqueTestId;
|
|
129
|
-
// return `(function(){
|
|
130
|
-
// if(!window.${_uniqueTestId}){
|
|
131
|
-
// //# sourceURL=${_uniqueTestId}.js
|
|
132
|
-
// `;
|
|
133
|
-
// },
|
|
134
|
-
// footer: function (_, args) {
|
|
135
|
-
// return `\n
|
|
136
|
-
// window.${args._uniqueTestId} = true;
|
|
137
|
-
// }
|
|
138
|
-
// })();`
|
|
139
|
-
// },
|
|
140
|
-
// afterOptimization: true,
|
|
141
|
-
// })
|
|
142
123
|
];
|
|
143
124
|
|
|
144
125
|
if (isProdMode) {
|
|
@@ -163,7 +144,7 @@ module.exports = {
|
|
|
163
144
|
...entries
|
|
164
145
|
},
|
|
165
146
|
output: {
|
|
166
|
-
path:
|
|
147
|
+
path: executionPath,
|
|
167
148
|
filename: '[name].js'
|
|
168
149
|
},
|
|
169
150
|
module: {
|