[RFR] Webpack meteor tools#119
Open
djhi wants to merge 4 commits intojedwards1211:webpack-meteor-toolsfrom
Open
[RFR] Webpack meteor tools#119djhi wants to merge 4 commits intojedwards1211:webpack-meteor-toolsfrom
djhi wants to merge 4 commits intojedwards1211:webpack-meteor-toolsfrom
Conversation
|
There seems to be a bug in your PR. trying to run make run-dev does not work. You renamed the Here is the fixed version : /* eslint no-var:0 */
var webpack = require('webpack');
var baseconfig = require('./webpack.config.client');
var _ = require('lodash');
var devProps = require('./devProps');
var RunInMeteorPlugin = require('webpack-meteor-tools/lib/RunInMeteorPlugin');
var dirs = require('../bin/dirs');
module.exports = _.assign(_.clone(baseconfig), {
devtool: 'eval',
entry: [
'webpack-dev-server/client?' + devProps.baseUrl,
'webpack/hot/only-dev-server',
].concat(baseconfig.entry),
output: _.assign(_.clone(baseconfig.output), {
publicPath: devProps.baseUrl + '/assets/',
pathinfo: true,
}),
plugins: (baseconfig.plugins || []).concat([
new webpack.HotModuleReplacementPlugin(),
new webpack.NoErrorsPlugin(),
new RunInMeteorPlugin({
mode: 'development',
target: 'client',
meteor: dirs.meteor,
key: 'client',
}),
]),
devServer: {
publicPath: devProps.baseUrl + '/assets/',
host: devProps.host,
hot: true,
historyApiFallback: true,
contentBase: devProps.contentBase,
port: devProps.webpackPort,
// proxy: {
// '/sockjs/*': {
// ws: true,
// target: 'ws://localhost:3000/sockjs',
// },
// '*': 'http://localhost:3000',
// }
},
}); |
Author
|
Thx for noticing. I'll fix that |
|
Thanks for sharing this one btw. I was about to update the dependencies but saw you already did! |
Author
|
I'd like to share my current work on Meteor/Webpack/React/Redux. It's a kind of Trello like application for tracking your nutrition (what you eat every day). I'm building it for a friend nutritionist who want to use it for coaching. Any comments is welcome :) The app is in french but I plan to translate it very soon. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I have been using my fork on a personal project with Redux and it's been working very well. I thought I should share too. Thanks a lot for this skeleton, working with Meteor is fun again :)
I'm going to keep this fork and make a Meteor/Redux boilerplate (goodbye ReactMeteorData)
binfoldermet.eslintrcusingair-bnbpresets