adapt-authoring-ui 2.0.2 → 2.0.4
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.
|
@@ -232,7 +232,8 @@ define(function(require) {
|
|
|
232
232
|
});
|
|
233
233
|
SweetAlert.close();
|
|
234
234
|
},
|
|
235
|
-
|
|
235
|
+
error: jqXHR => {
|
|
236
|
+
const message = jqXHR.responseJSON.message
|
|
236
237
|
SweetAlert.close();
|
|
237
238
|
Origin.Notify.alert({ type: 'error', text: `${Origin.l10n.t('app.errorpaste')}${message ? `\n\n${message}` : ''}` });
|
|
238
239
|
}
|
package/lib/JavaScriptTask.js
CHANGED
|
@@ -383,7 +383,7 @@ export default class JavaScriptTask {
|
|
|
383
383
|
adaptInjectPlugins({}),
|
|
384
384
|
commonjs({
|
|
385
385
|
include: ['node_modules/**/*'],
|
|
386
|
-
exclude: ['**/node_modules/adapt-*/**']
|
|
386
|
+
exclude: ['**/node_modules/adapt-*/**', '**/node_modules/@*/adapt-*/**']
|
|
387
387
|
}),
|
|
388
388
|
injectProcessEnv({
|
|
389
389
|
NODE_ENV: isSourceMapped ? 'development' : 'production'
|
package/package.json
CHANGED