@mongoosejs/studio 0.0.131 → 0.0.135
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/build.js +18 -0
- package/frontend/public/app.js +10381 -10357
- package/frontend/public/tw.css +10 -0
- package/frontend/src/async-button/async-button.html +1 -1
- package/frontend/src/async-button/async-button.js +17 -8
- package/frontend/src/detail-default/detail-default.html +2 -2
- package/frontend/src/detail-default/detail-default.js +11 -2
- package/frontend/src/document-details/document-property/document-property.css +0 -15
- package/frontend/src/document-details/document-property/document-property.html +4 -4
- package/frontend/src/splash/splash.html +2 -2
- package/package.json +1 -1
- package/astra.js +0 -159
- package/valnotes.md +0 -2
package/build.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const webpack = require('webpack');
|
|
4
|
+
const webpackConfig = require('./frontend/webpack.config');
|
|
5
|
+
|
|
6
|
+
(async function () {
|
|
7
|
+
const compiler = webpack(webpackConfig);
|
|
8
|
+
await new Promise((resolve, reject) => {
|
|
9
|
+
compiler.run((err) => {
|
|
10
|
+
if (err) {
|
|
11
|
+
reject(err);
|
|
12
|
+
process.nextTick(() => { throw new Error('Error compiling bundle: ' + err.stack); });
|
|
13
|
+
}
|
|
14
|
+
resolve();
|
|
15
|
+
console.log('Webpack compiled successfully');
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
})();
|