mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 07:38:07 -05:00
Merge pull request #2826 from LLK/release/03-07-2019
[develop] Release/03 07 2019
This commit is contained in:
commit
110b2badd3
2 changed files with 11 additions and 3 deletions
|
@ -281,9 +281,9 @@ tap.test('clickScratchDayLink', options, t => {
|
|||
// SCRATCH CONFERENCE
|
||||
tap.test('clickScratchConferenceLink', options, t => {
|
||||
const linkText = 'Scratch Conference';
|
||||
const expectedHref = '/conference';
|
||||
const expectedHref = '/conference/20';
|
||||
clickFooterLinks(linkText).then(url => {
|
||||
t.equal(url.substr(-expectedHref.length), expectedHref);
|
||||
t.match(url.substr(-(expectedHref.length + 2)), expectedHref);
|
||||
t.end();
|
||||
});
|
||||
});
|
||||
|
|
|
@ -78,7 +78,11 @@ module.exports = {
|
|||
{
|
||||
test: /\.jsx?$/,
|
||||
loader: 'babel-loader',
|
||||
include: [path.resolve(__dirname, 'src'), /node_modules[\\/]scratch-[^\\/]+[\\/]src/]
|
||||
include: [
|
||||
path.resolve(__dirname, 'src'),
|
||||
/node_modules[\\/]scratch-[^\\/]+[\\/]src/,
|
||||
/node_modules[\\/]pify/
|
||||
]
|
||||
},
|
||||
{
|
||||
test: /\.scss$/,
|
||||
|
@ -144,6 +148,10 @@ module.exports = {
|
|||
from: 'node_modules/scratch-gui/dist/static/blocks-media',
|
||||
to: 'static/blocks-media'
|
||||
}]),
|
||||
new CopyWebpackPlugin([{
|
||||
from: 'node_modules/scratch-gui/dist/chunks',
|
||||
to: 'static/chunks'
|
||||
}]),
|
||||
new CopyWebpackPlugin([{
|
||||
from: 'node_modules/scratch-gui/dist/extension-worker.js'
|
||||
}]),
|
||||
|
|
Loading…
Reference in a new issue