Add minor fixes
This commit is contained in:
parent
6b0faeb2e5
commit
2234b2197f
2 changed files with 17 additions and 17 deletions
28
README.md
28
README.md
|
@ -33,24 +33,24 @@
|
|||
```javascript
|
||||
entry: './src/index.js', // change if needed
|
||||
output: {
|
||||
filename: 'index.js', // change if needed
|
||||
path: path.resolve(__dirname, 'dist'), // change if needed
|
||||
filename: 'index.js', // change if needed
|
||||
path: path.resolve(__dirname, 'dist'), // change if needed
|
||||
},
|
||||
plugins: [
|
||||
new HtmlWebpackPlugin({
|
||||
template: './src/index.html', // change if needed
|
||||
filename: path.resolve(__dirname, 'dist', 'index.html'), // change if needed
|
||||
}),
|
||||
new HtmlWebpackPlugin({
|
||||
template: './src/index.html', // change if needed
|
||||
filename: path.resolve(__dirname, 'dist', 'index.html'), // change if needed
|
||||
}),
|
||||
|
||||
// ...
|
||||
// ...
|
||||
],
|
||||
```
|
||||
- webpack.dev.js
|
||||
```javascript
|
||||
devServer: {
|
||||
contentBase: path.join(__dirname, 'dist'), // change if needed
|
||||
port: 9000, // change if needed
|
||||
historyApiFallback: true,
|
||||
contentBase: path.join(__dirname, 'dist'), // change if needed
|
||||
port: 9000, // change if needed
|
||||
historyApiFallback: true,
|
||||
},
|
||||
```
|
||||
|
||||
|
@ -106,11 +106,11 @@ historyApiFallback: true,
|
|||
Una vez añadidas quedarían de la siguiente forma:
|
||||
```json
|
||||
"dependencies": {
|
||||
"mcf-components": "git+ssh://git@bitbucket.org/SmartclipDev/mcf-components.git#v0.1.3",
|
||||
"mcf-objects": "git+ssh://git@bitbucket.org/SmartclipDev/mcf-objects.git#v0.1.4",
|
||||
"mcf-components": "git+ssh://git@bitbucket.org/SmartclipDev/mcf-components.git#v0.2.0",
|
||||
"mcf-objects": "git+ssh://git@bitbucket.org/SmartclipDev/mcf-objects.git#v0.2.0",
|
||||
"smart-client-socket": "git+ssh://git@bitbucket.org/SmartclipDev/smart-client-socket.git#v0.2.0",
|
||||
"smart-ads": "git+ssh://git@bitbucket.org/SmartclipDev/smart-ads.git#v0.1.3"
|
||||
"smart-utils": "git+ssh://git@bitbucket.org/SmartclipDev/smart-utils.git#v0.1.3"
|
||||
"smart-ads": "git+ssh://git@bitbucket.org/SmartclipDev/smart-ads.git#v0.2.0",
|
||||
"smart-utils": "git+ssh://git@bitbucket.org/SmartclipDev/smart-utils.git#v0.1.4"
|
||||
}
|
||||
```
|
||||
Es necesario revisar en los repositorios las últimas versiones de las bibliotecas para incluir la versión adecuada en el proyecto. Esto se hace mediante el número de la versión detrás del símbolo `#`.
|
||||
|
|
Loading…
Reference in a new issue