Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
colintucker committed Oct 8, 2017
2 parents d4e91e5 + 2cebb8a commit 821bb7b
Show file tree
Hide file tree
Showing 4 changed files with 977 additions and 486 deletions.
2 changes: 1 addition & 1 deletion admin/client/dist/js/bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,25 +35,25 @@
},
"dependencies": {},
"devDependencies": {
"autoprefixer": "^6.7.6",
"babel-core": "^6.23.1",
"babel-loader": "^6.3.2",
"babel-preset-es2015": "^6.22.0",
"clean-webpack-plugin": "^0.1.15",
"css-loader": "^0.26.2",
"extract-text-webpack-plugin": "^2.0.0",
"file-loader": "^0.10.1",
"node-sass": "^4.5.0",
"postcss-loader": "^1.3.3",
"sass-loader": "^6.0.2",
"style-loader": "^0.13.2",
"url-loader": "^0.5.8",
"webpack": "^2.2.1"
"autoprefixer": "^7.1.5",
"babel-core": "^6.26.0",
"babel-loader": "^7.1.2",
"babel-preset-env": "^1.6.0",
"clean-webpack-plugin": "^0.1.17",
"css-loader": "^0.28.7",
"extract-text-webpack-plugin": "^3.0.1",
"file-loader": "^1.1.5",
"node-sass": "^4.5.3",
"postcss-loader": "^2.0.6",
"sass-loader": "^6.0.6",
"style-loader": "^0.19.0",
"url-loader": "^0.6.2",
"webpack": "^3.6.0"
},
"babel": {
"presets": [
[
"es2015",
"env",
{
"modules": false
}
Expand Down
15 changes: 11 additions & 4 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

const path = require('path');
const webpack = require('webpack');
const autoprefixer = require('autoprefixer');

// Load Plugin Modules:

Expand All @@ -18,7 +19,7 @@ const PATHS = {
SRC: path.resolve(__dirname, 'admin/client/src'),
DIST: path.resolve(__dirname, 'admin/client/dist'),
BUNDLES: path.resolve(__dirname, 'admin/client/src/bundles'),
PUBLIC: '/silverware-model-filters/admin/client/dist/'
PUBLIC: '/resources/silverware/model-filters/admin/client/dist/'
},
MODULES: path.resolve(__dirname, 'node_modules')
};
Expand Down Expand Up @@ -52,7 +53,10 @@ const rules = (env) => {
loader: 'css-loader'
},
{
loader: 'postcss-loader'
loader: 'postcss-loader',
options: {
plugins: [ autoprefixer ] // see "browserslist" in package.json
}
}
])
},
Expand All @@ -63,7 +67,10 @@ const rules = (env) => {
loader: 'css-loader'
},
{
loader: 'postcss-loader'
loader: 'postcss-loader',
options: {
plugins: [ autoprefixer ] // see "browserslist" in package.json
}
},
{
loader: 'sass-loader',
Expand Down Expand Up @@ -156,7 +163,7 @@ const config = (env) => {
plugins: plugins(env, PATHS.ADMIN.SRC, PATHS.ADMIN.DIST),
resolve: {
alias: {
'silverstripe-admin': path.resolve(process.env.PWD, '../silverstripe-admin/client/src')
'silverstripe-admin': path.resolve(process.env.PWD, '../../silverstripe/admin/client/src')
},
modules: [
PATHS.ADMIN.SRC,
Expand Down
Loading

0 comments on commit 821bb7b

Please sign in to comment.