-
Notifications
You must be signed in to change notification settings - Fork 13.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixing the python and js packaging #172
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
recursive-include panoramix/templates * | ||
recursive-include panoramix/static * | ||
recursive-exclude panoramix/static/assets/node_modules * | ||
recursive-include panoramix/static/assets/node_modules/font-awesome * | ||
recursive-exclude panoramix/static/docs * | ||
recursive-exclude tests * | ||
recursive-include panoramix/data * | ||
recursive-include panoramix/migrations * |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
require('../node_modules/select2/select2.css'); | ||
require('../node_modules/select2-bootstrap-css/select2-bootstrap.min.css'); | ||
require('../node_modules/jquery-ui/themes/base/jquery-ui.css') | ||
require('select2'); | ||
require('../vendor/select2.sortable.js'); |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,9 +30,14 @@ var config = { | |
include: APP_DIR, | ||
loader: "style-loader!css-loader" | ||
}, | ||
/* for require('*.less') */ | ||
/* for css linking images */ | ||
{ test: /\.png$/, loader: "url-loader?limit=100000" }, | ||
{ test: /\.jpg$/, loader: "file-loader" }, | ||
{ test: /\.gif$/, loader: "file-loader" }, | ||
/* for font-awesome */ | ||
{ test: /\.woff(2)?(\?v=[0-9]\.[0-9]\.[0-9])?$/, loader: "url-loader?limit=10000&minetype=application/font-woff" }, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this still doesn't work... There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not sure what you mean by that. does it still compile the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. oh I thought it was an attempt at getting |
||
{ test: /\.(ttf|eot|svg)(\?v=[0-9]\.[0-9]\.[0-9])?$/, loader: "file-loader" }, | ||
/* for require('*.less') */ | ||
{ | ||
test: /\.less$/, | ||
include: APP_DIR, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This excludes the thousands of files in that folder to ship with the python package
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gotcha, and they're already included in the bundled js files so are totally unnecessary