Skip to content

Commit

Permalink
Release 0.0.3_1
Browse files Browse the repository at this point in the history
  • Loading branch information
ardatan committed Apr 26, 2018
1 parent a249ac9 commit 953ebaf
Show file tree
Hide file tree
Showing 18 changed files with 233 additions and 210 deletions.
2 changes: 1 addition & 1 deletion atmosphere-packages/webpack-dev-middleware/.versions
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ardatan:[email protected].3
ardatan:[email protected].3_1
[email protected]
[email protected]
[email protected]
Expand Down
12 changes: 8 additions & 4 deletions atmosphere-packages/webpack-dev-middleware/dev-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,14 @@ function webpackHotServerMiddleware(multiCompiler) {
const buffer = outputFs.readFileSync(filename);
Meteor.server.method_handlers = {};
Meteor.server.publish_handlers = {};
const requireFromString =Npm.require(path.join(projectPath, 'node_modules/require-from-string'));
interopRequireDefault(
requireFromString(buffer.toString(),filename)
);
try{
const requireFromString =Npm.require(path.join(projectPath, 'node_modules/require-from-string'));
interopRequireDefault(
requireFromString(buffer.toString(),filename)
);
}catch(e){
console.log(e)
}
};

if (multiCompiler.hooks) {
Expand Down
2 changes: 1 addition & 1 deletion atmosphere-packages/webpack-dev-middleware/package.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package.describe({
name: 'ardatan:webpack-dev-middleware',
debugOnly: true,
version: '0.0.3',
version: '0.0.3_1',
summary: 'Webpack Dev Middleware for Meteor',
git: 'https://github.com/ardatan/meteor-webpack',
documentation: '../../README.md'
Expand Down
2 changes: 1 addition & 1 deletion atmosphere-packages/webpack/.versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ardatan:[email protected].3
ardatan:[email protected].3_1
[email protected]
2 changes: 1 addition & 1 deletion atmosphere-packages/webpack/package.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package.describe({
name: 'ardatan:webpack',
version: '0.0.3',
version: '0.0.3_1',
summary: 'Webpack Integration for Meteor',
git: 'https://github.com/ardatan/meteor-webpack',
documentation: '../../README.md'
Expand Down
4 changes: 2 additions & 2 deletions atmosphere-packages/webpack/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Plugin.registerCompiler({
const compilerCacheHashMap = {};
return {

constructNewCompilerForTarget(targetPlatform, targetFile) {
constructNewCompilerForTarget(compilerCache, targetPlatform, targetFile) {

let allWebpackConfigs = requireFromString(targetFile.getContentsAsString());
if (!(allWebpackConfigs instanceof Array)) {
Expand Down Expand Up @@ -78,7 +78,7 @@ Plugin.registerCompiler({
const targetPlatform = targetFile.getArch().includes('web') ? 'web' : 'node';

if (typeof compilerCache[targetPlatform] === 'undefined') {
this.constructNewCompilerForTarget(targetPlatform, targetFile)
this.constructNewCompilerForTarget(compilerCache, targetPlatform, targetFile)
}

if (compilerCache[targetPlatform] == null) {
Expand Down
3 changes: 3 additions & 0 deletions examples/angular/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ const serverConfig = {
],
output: {
filename: 'bundle.js'
},
devServer: {
hot: true
}
}
module.exports = [clientConfig, serverConfig];
186 changes: 93 additions & 93 deletions examples/react/.meteor/versions
Original file line number Diff line number Diff line change
@@ -1,93 +1,93 @@
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
ardatan:[email protected].2
ardatan:[email protected].2
[email protected]
[email protected].7
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected].7
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected].0
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
tmeasday:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
ardatan:[email protected].3_1
ardatan:[email protected].3_1
[email protected]
[email protected].8
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected].8
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected].1
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
tmeasday:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
2 changes: 2 additions & 0 deletions examples/react/.meteorignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
client/
server/
5 changes: 4 additions & 1 deletion examples/react/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ const serverConfig = {
entry: [
'./server/main.js'
],
target: 'node'
target: 'node',
devServer: {
hot: true
}
};

module.exports = [clientConfig, serverConfig];
2 changes: 1 addition & 1 deletion examples/vanilla/.meteor/release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[email protected]
[email protected].1
2 changes: 1 addition & 1 deletion examples/vue/.meteor/release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[email protected]
[email protected].1
Loading

0 comments on commit 953ebaf

Please sign in to comment.