diff --git a/apps/common/mobile/resources/less/skeleton.css b/apps/common/mobile/resources/css/skeleton.css
similarity index 100%
rename from apps/common/mobile/resources/less/skeleton.css
rename to apps/common/mobile/resources/css/skeleton.css
diff --git a/apps/spreadsheeteditor/mobile/src/index_dev.html b/apps/spreadsheeteditor/mobile/src/index_dev.html
index 43603bf9e..e6b8bad19 100644
--- a/apps/spreadsheeteditor/mobile/src/index_dev.html
+++ b/apps/spreadsheeteditor/mobile/src/index_dev.html
@@ -23,7 +23,11 @@
-
+ <% if (!htmlWebpackPlugin.options.skeleton.content) { %>
+
+ <% } else { %>
+
+ <% } %>
diff --git a/vendor/framework7-react/build/webpack.config.js b/vendor/framework7-react/build/webpack.config.js
index 359731620..31b666092 100644
--- a/vendor/framework7-react/build/webpack.config.js
+++ b/vendor/framework7-react/build/webpack.config.js
@@ -89,6 +89,7 @@ module.exports = {
{
test: /\.css$/,
+ exclude: [/skeleton\.css$/i],
use: [
(env === 'development' ? 'style-loader' : {
loader: MiniCssExtractPlugin.loader,
@@ -188,6 +189,9 @@ module.exports = {
// new webpack.NamedModulesPlugin(),
]),
// new CleanWebpackPlugin(),
+ new MiniCssExtractPlugin({
+ filename: 'css/[name].css',
+ }),
new HtmlWebpackPlugin({
filename: `../../../apps/${editor}/mobile/index.html`,
template: `../../apps/${editor}/mobile/src/index_dev.html`,
@@ -200,9 +204,9 @@ module.exports = {
removeStyleLinkTypeAttributes: true,
useShortDoctype: true
} : false,
- }),
- new MiniCssExtractPlugin({
- filename: 'css/[name].css',
+ skeleton: {
+ content: env === 'development' ? undefined : fs.readFileSync(`../../apps/common/mobile/resources/css/skeleton.css`),
+ },
}),
new CopyWebpackPlugin({
patterns: [