Commit 8e07d784 authored by Bastien Ho's avatar Bastien Ho :alien:
Browse files

Cleanup repo

parent 06304612
Showing with 18082 additions and 19 deletions
+18082 -19
.babelrc 0 → 100644
{
"presets": [
[ "env", {
"modules": false,
"targets": {
"browsers": [
"last 2 Chrome versions",
"last 2 Firefox versions",
"last 2 Safari versions",
"last 2 Edge versions",
"last 2 Opera versions",
"last 2 iOS versions",
"last 1 Android version",
"last 1 ChromeAndroid version",
"ie 11",
"> 1%"
]
}
} ]
],
"plugins": [
"transform-object-rest-spread",
"transform-react-jsx"
],
"env": {
"default": {
"plugins": [
"lodash",
"transform-runtime"
]
},
"test": {
"presets": [ "env" ]
}
}
}
node_modules/*
This diff is collapsed.
......@@ -27,8 +27,6 @@ import {
ServerSideRender
} from "@wordpress/components";
import "../scss/block-civicrm.scss";
var withSelect = wp.data.withSelect;
registerBlockType("bfc/block-civicrm", {
......
......@@ -2,8 +2,6 @@
* External dependencies
*/
const webpack = require("webpack");
// const ExtractTextPlugin = require("mini-css-extract-plugin");
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
const entryPointNames = [
'block-civicrm'
......@@ -53,10 +51,6 @@
test: /\.jsx$/,
exclude: /node_modules/,
use: "babel-loader"
},
{
test: /\.scss$/,
use: [MiniCssExtractPlugin.loader, "css-loader"],
}
]
},
......@@ -70,11 +64,6 @@
minimize: process.env.NODE_ENV === "development",
debug: process.env.NODE_ENV !== "development"
}),
new MiniCssExtractPlugin(
{
filename: "./assets/built/css/[name].css"
}
),
],
stats: {
children: false
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment