@corva/dc-platform-shared 0.41.0-0 → 0.41.0-2
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
import p from'./../../../ext-esm/style-inject/dist/style-inject.es.js';var t={app:"App_app__szh89",appContent:"App_appContent__ig-1i",pdfAppContent:"App_pdfAppContent__MCvHU",lightAppContent:"App_lightAppContent__7PeHo"};p(".App_app__szh89{display:flex;flex-direction:column;min-height:100%;touch-action:manipulation}.App_appContent__ig-1i{flex-grow:1;padding:10px;position:relative}.App_pdfAppContent__MCvHU{background-color:#fff;padding:30px 0}.App_lightAppContent__7PeHo{background-color:#fff;color:#000}");export{t as default};
|
|
1
|
+
import p from'./../../../ext-esm/style-inject/dist/style-inject.es.js';var t={app:"App_app__szh89",appContent:"App_appContent__ig-1i",pdfAppContent:"App_pdfAppContent__MCvHU",lightAppContent:"App_lightAppContent__7PeHo"};p(".App_app__szh89{background-color:#141414;display:flex;flex-direction:column;min-height:100%;touch-action:manipulation}.App_appContent__ig-1i{flex-grow:1;padding:10px;position:relative}.App_pdfAppContent__MCvHU{background-color:#fff;padding:30px 0}.App_lightAppContent__7PeHo{background-color:#fff;color:#000}");export{t as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./validators/index.js"),s=require("webpack"),o=require("path"),r=require("uuid/v1"),t=require("clean-webpack-plugin").CleanWebpackPlugin,a=require("fs"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./validators/index.js"),s=require("webpack"),o=require("path"),r=require("uuid/v1"),t=require("clean-webpack-plugin").CleanWebpackPlugin,a=require("fs"),l=process.cwd(),n=JSON.parse(a.readFileSync(o.resolve(l,"./package.json"),"utf-8")),p=JSON.parse(a.readFileSync(o.resolve(l,"./manifest.json"),"utf-8"));exports.APP_DIRECTORY=l,exports.default=function(a,l){return e({packageJson:n}),{entry:"./src/index.js",output:{filename:"[name].[contenthash].js",path:o.resolve(process.cwd(),"dist")},devServer:{historyApiFallback:!0},performance:{maxAssetSize:1024e3},plugins:[new t,new s.ProvidePlugin({process:"process/browser"})],resolve:{symlinks:!1,extensions:[".js",".jsx",".json",".ts",".tsx"]},module:{rules:[{test:/\.css$/i,use:["style-loader",{loader:"css-loader",options:{modules:{localIdentName:"development"===l.mode?"[path][name]__[local]__".concat(r().substr(-5)):"[name]__[hash:base64:3]".concat(r().substr(-5))},importLoaders:1}},{loader:"postcss-loader",options:{postcssOptions:{plugins:["postcss-preset-env"]}}}]},{test:/\.(js|jsx)$/,exclude:/[\\/]node_modules[\\/]/,use:{loader:"babel-loader",options:{presets:["@babel/preset-env",["@babel/preset-react",{runtime:"automatic"}]]}}},{test:/\.ts(x?)$/,exclude:/[\\/]node_modules[\\/]/,use:[{loader:"babel-loader",options:{presets:["@babel/preset-env",["@babel/preset-react",{runtime:"automatic"}]]}},{loader:"ts-loader",options:{compilerOptions:{noEmit:!1}}}]},{test:/\.m?js/,resolve:{fullySpecified:!1}}]}}},exports.manifestJson=p,exports.packageJson=n;
|