-
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
📕 docs(none): release post and docs (#1548)
6.3.0 release post and related documentation updates. - added a pre-commit hook to make sure the test registry isn't polluting the lockfile. - added a `yarn @bud info` command to hopefully highlight any problems with mismatched versions, missing deps, registry problems. refers: - none ## Type of change **NONE: internal change** This PR includes breaking changes to the following core packages: - none This PR includes breaking changes to the follow extensions: - none ## Dependencies ### Adds - none ### Removes - none
- Loading branch information
1 parent
7a1becd
commit 40c69af
Showing
89 changed files
with
1,397 additions
and
597 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,27 @@ | ||
module.exports = async app => { | ||
app | ||
.entry('app', '*.{js,css}') | ||
.template({template: app.path('./public/index.html')}) | ||
.when(app.isProduction, app => { | ||
app.splitChunks().minimize().runtime('single') | ||
}) | ||
.proxy({ | ||
target: 'http://localhost:8080', | ||
|
||
.babel.setPresets({ | ||
'@babel/preset-env': require.resolve('@babel/preset-env'), | ||
}) | ||
.setPlugins({ | ||
'@babel/plugin-transform-runtime': [ | ||
require.resolve('@babel/plugin-transform-runtime'), | ||
{helpers: false}, | ||
], | ||
'@babel/plugin-proposal-object-rest-spread': require.resolve( | ||
'@babel/plugin-proposal-object-rest-spread', | ||
), | ||
'@babel/plugin-syntax-dynamic-import': require.resolve( | ||
'@babel/plugin-syntax-dynamic-import', | ||
), | ||
'@babel/plugin-proposal-class-properties': require.resolve( | ||
'@babel/plugin-proposal-class-properties', | ||
), | ||
}) | ||
.tap(({babel}) => | ||
babel | ||
.setPresets({ | ||
'@babel/preset-env': require.resolve('@babel/preset-env'), | ||
}) | ||
.setPlugins({ | ||
'@babel/plugin-transform-runtime': [ | ||
require.resolve('@babel/plugin-transform-runtime'), | ||
{helpers: false}, | ||
], | ||
'@babel/plugin-proposal-object-rest-spread': require.resolve( | ||
'@babel/plugin-proposal-object-rest-spread', | ||
), | ||
'@babel/plugin-syntax-dynamic-import': require.resolve( | ||
'@babel/plugin-syntax-dynamic-import', | ||
), | ||
'@babel/plugin-proposal-class-properties': require.resolve( | ||
'@babel/plugin-proposal-class-properties', | ||
), | ||
}), | ||
) | ||
} |
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
import './demo' | ||
document.querySelector('.app')?.classList.add('init') | ||
|
||
/** | ||
* Accept module updates | ||
* | ||
* @see https://webpack.js.org/api/hot-module-replacement | ||
*/ | ||
import.meta.webpackHot.accept(console.error) | ||
module?.hot?.accept() |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
console.log('hello') | ||
console.log('world') | ||
import './styles.css' | ||
|
||
document.querySelector('body')?.classList.add('init') | ||
|
||
module?.hot?.accept() |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
body { | ||
background-color: white; | ||
} |
This file contains 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
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.